--- title: "Deploy Options" url: https://docs.catalyst.zoho.com/en/cli/v1/deploy-resources/deploy-options/ description: "Catalyst enables you to easily deploy your project and its resources to the remote console using the CLI." last_updated: 2026-08-17T12:16:04Z service: All Services type: general --- # Deploy Options Catalyst CLI enables you to deploy only specific resources, such as just the client package, specific functions, or an AppSail service, using two deploy options. The following options are available for the `catalyst deploy` command. > **Note:** Besides these deploy options, you can also deploy specific resources from your project by navigating to the target folder where the resources are located and executing the `catalyst deploy` command from that folder. This can be used when the deployable resources are all located in the same directory. For example, if you want to deploy a particular function alone, you can navigate to the function's folder in the CLI and run the `catalyst deploy` command. ### \--only <targets> The `-\\-only` option allows you to define the specific resources to be deployed. You can use this with `client`, `functions`, `appsail`, `slate`, or `apig` keywords. You can specify multiple resources separated by commas without any whitespace characters between them. For example, to deploy just the client directory, run the following command in your terminal: ```sh catalyst deploy --only client ``` This initiates the deployment of the client directory alone. The deployment process is the same as discussed in the previous section. You can also deploy specific functions or AppSail services using the `-\\-only` option. You must specify the names of the target functions or the AppSail services in the command separated by commas as shown below: ```sh catalyst deploy --only functions:InvoiceFetch,functions:CostAccounting ``` You can also deploy the client and certain functions, or an AppSail service and certain functions, alone as shown below: ```sh catalyst deploy --only functions:InvoiceSync,functions:CostAccounting,functions:FreightTracking ``` This will deploy only the specified resources from the project directory. ![Deploy Options](https://catalyst-docs-development.zohostratus.in/images/cli/deploy-resources/catalyst_cli_deploy_only.webp) ### \--except <targets> The `-\\-except` option allows you to define the resources to be excluded from deployment. It will deploy all the resources except for the ones that you specify. For example, if you use the `-\\-except` option with `client`, it will exclude the client package and deploy everything else. You can execute this command in the following way: ```sh catalyst deploy --except client ``` You can also use this option to exclude specific functions or AppSail services. For example: ```sh $ catalyst deploy --except appsail:customerapp,functions:CostAccounting ``` This will deploy all the other resources of the project. ![Deploy Options](https://catalyst-docs-development.zohostratus.in/images/cli/deploy-resources/catalyst_cli_deploy_except.webp) ### \--ignore-scripts Catalyst enables you to automate the CLI and terminal command executions by defining scripts in the [ `catalyst.json` ](https://docs.catalyst.zoho.com/en/cli/v1/project-directory-structure/catalyst-json/) file in your project directory. You can define two lifecycle scripts to execute before and after the `catalyst deploy` command respectively: `predeploy`, `postdeploy`. You can learn more about the lifecycle and custom scripts from the [Scripts help page](https://docs.catalyst.zoho.com/en/cli/v1/scripts/introduction/) . If you use the `-\\-ignore-scripts` option while executing the `catalyst deploy` command, the CLI will ignore the actions configured for the `predeploy` and `postdeploy` scripts in the `catalyst.json` file of your project directory. The deployment process will proceed without the execution of these lifecycle scripts. You can use the `-\\-ignore-scripts` option as follows: ```sh catalyst deploy --ignore-scripts ``` The deployment process will be the same as discussed earlier. > **Note:** If you are a **Visual Studio Code IDE** user, you can install the **Catalyst Tools** extension, and perform CLI operations using your IDE in place of the CLI. Steps to individually deploy Catalyst functions using Visual Studio Code IDE can be found [here](https://docs.catalyst.zoho.com/en/catalyst-extensions/vs-code-extension/implementation/#deploy-a-function), and steps to deploy client resources can be found [here](https://docs.catalyst.zoho.com/en/catalyst-extensions/vs-code-extension/implementation/#deploy-operation).