--- title: "Run a Script" url: https://docs.catalyst.zoho.com/en/cli/v1/scripts/run-script/ description: "Catalyst provides the functionality for automating CLI and terminal command executions during the testing or deployment process in the form of scripts." last_updated: 2026-08-17T12:16:04Z service: All Services type: general --- # Run a Script You can also manually run a script whenever you need using the CLI, to test its execution. You can list the scripts available in the project directory by navigating to the directory and executing either of the following CLI commands: ```sh catalyst run-script | run ``` The CLI will display the lifecycle and custom scripts that are configured and available for each component in the [catalyst.json](https://docs.catalyst.zoho.com/en/cli/v1/project-directory-structure/catalyst-json/) file. ![CLI Run Script](https://catalyst-docs-development.zohostratus.in/images/cli/catalyst-scripts/catalyst_cli_scripts_list.webp) You can directly run a script by executing the `run` command with the script's name as shown below: ```sh catalyst run-script | run [command] ``` For example, to run the custom script `packageJson` , execute the following command from the project directory: ```sh catalyst run client:packageJson ``` This will execute the `packageJson` script defined in the example. ![CLI Run Script](https://catalyst-docs-development.zohostratus.in/images/cli/catalyst-scripts/catalyst_cli_scripts_list.webp)