--- title: "Delete Functions" url: https://docs.catalyst.zoho.com/en/cli/v1/working-with-functions/delete-functions/ description: "Catalyst CLI enables you to set up the functions component even after the project is initialized, add multiple functions in your project, configure their memory, test functions in a Node shell, and delete them." last_updated: 2026-09-02T11:17:14Z service: All Services type: general --- # Delete Functions ### Delete Command Execution You can permanently delete functions of your Catalyst project using the CLI. You can choose to delete functions from the remote console or from your local project directory while executing this command. > **Note:** If a function exists in both locations, it will only be deleted from the location you choose. For example, even if you delete a function from the remote console, it will still be present in your local project directory until you delete it from the local machine separately. 1. To delete functions in your project, execute the following command from your project directory: ```sh catalyst functions:delete ``` 2. The CLI will ask you to choose between the functions in the remote console or the functions in your local project directory. Select an option and press **Enter** . ![Delete Functions in CLI](https://catalyst-docs-development.zohostratus.in/images/cli/working-with-functions/catalyst_cli_functions_delete_1.webp) 3. The CLI will list all the functions in your remote console or in your local directory, based on the options you chose. Select the functions that need to be deleted and press **Enter** . ![Delete Functions in CLI](https://catalyst-docs-development.zohostratus.in/images/cli/working-with-functions/catalyst_cli_functions_delete_2.webp) 4. The CLI will ask for a confirmation. Enter "**Y** " and press **Enter** to confirm. The selected functions will be deleted from the chosen location. ![Delete Functions in CLI](https://catalyst-docs-development.zohostratus.in/images/cli/working-with-functions/catalyst_cli_functions_delete_3.webp) > **Note:** You can use the [ `catalyst pull` ](https://docs.catalyst.zoho.com/en/cli/v1/pull-resources/introduction/) command to pull resources from the remote console to the local directory, or [ `catalyst deploy` ](https://docs.catalyst.zoho.com/en/cli/v1/deploy-resources/introduction/) to deploy resources to the remote console from the local directory if you require synchronization. You can also directly specify the function to be deleted by including the function's name or ID along with the command like: ```sh catalyst functions:delete [function_name_or_id] ``` For example: ```sh catalyst functions:delete InvoiceFetch ``` The CLI will then prompt you to select between the remote console or the local directory, then ask you for the delete confirmation in the same manner. > **Note:** You can specify the function name or ID directly to delete a function from the remote console. However, to delete a function from the local directory, you must only provide the function name and not the ID. ### Delete Functions Options You can directly choose to list the functions in either the remote console or in your local project directory to delete using the respective options. To list functions available in your local project directory, execute the catalyst `functions:delete` command as follows: ```sh catalyst functions:delete --local ``` To list functions available in the remote console of your project, execute the catalyst `functions:delete` command as follows: ```sh catalyst functions:delete --remote ``` The CLI will list the functions accordingly, and you can delete the required functions as explained previously. You can also directly delete a function from the remote console or the local directory as shown below: ```sh catalyst functions:delete InvoiceFetch --remote ``` > **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 delete Catalyst functions using Visual Studio Code IDE can be found [here](https://docs.catalyst.zoho.com/en/catalyst-extensions/vs-code-extension/implementation/#delete-operation) > **Info:** This command is available in Non-interactive mode. Refer to the [Non-Interactive Catalyst CLI Commands](https://docs.catalyst.zoho.com/en/ai-toolkit/ni-cli/ni-commands/) page for the complete syntax.