# Connect CLI Manage your Connect applications with a CLI. The Connect CLI allows you to access, create, and manage Connectors and Connect applications. ## Requirements To use the Connect CLI, you must utilize the following: - [Node.js](https://nodejs.org/en) - If you are using macOS, [Homebrew](https://brew.sh/) is required to install Node.js. - [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) - [Docker](https://docs.docker.com/get-docker/) ## Install the Connect CLI To install the Connect CLI globally, use the following command: ```bash npm install -g @commercetools/cli ``` You can verify the installation and find further information using the following command: ```bash commercetools --help ``` To check the CLI version, use the following command: ```bash commercetools --version ``` ## CLI and Connect API mapping The following table maps CLI commands that have corresponding Connect API endpoints or update actions. All commands are prefixed with `commercetools connect`. | CLI command | API endpoint or action | | --- | --- | | [`connectorstaged create`](/connect/cli.md#commercetools-connect-connectorstaged-create) | [Create ConnectorStaged](/connect/connectors-staged.md#create-connectorstaged) | | [`connectorstaged describe`](/connect/cli.md#commercetools-connect-connectorstaged-describe) | [Get ConnectorStaged](/connect/connectors-staged.md#get-connectorstaged) | | [`connectorstaged list`](/connect/cli.md#commercetools-connect-connectorstaged-list) | [Query ConnectorStaged](/connect/connectors-staged.md#query-connectorstaged) | | [`connectorstaged update`](/connect/cli.md#commercetools-connect-connectorstaged-update) | [Update ConnectorStaged](/connect/connectors-staged.md#update-connectorstaged) using applicable [update actions](/connect/connectors-staged.md#update-actions) | | [`connectorstaged publish`](/connect/cli.md#commercetools-connect-connectorstaged-publish) | [Publish](/search.md?urn=ctp:connect:type:ConnectorPublishAction) update action (`certification` set to `false`) | | [`connectorstaged certify`](/connect/cli.md#commercetools-connect-connectorstaged-certify) | [Publish](/search.md?urn=ctp:connect:type:ConnectorPublishAction) update action (`certification` set to `true`) | | [`connectorstaged preview`](/connect/cli.md#commercetools-connect-connectorstaged-preview) | [Preview Connector](/connect/connectors-staged.md#preview-connector) | | [`deployment create`](/connect/cli.md#commercetools-connect-deployment-create) | [Create Deployment](/connect/deployments.md#create-deployment) | | [`deployment describe`](/connect/cli.md#commercetools-connect-deployment-describe) | [Get Deployment](/connect/deployments.md#get-deployment) | | [`deployment list`](/connect/cli.md#commercetools-connect-deployment-list) | [Query Deployments](/connect/deployments.md#query-deployments) | | [`deployment delete`](/connect/cli.md#commercetools-connect-deployment-delete) | [Delete Deployment](/connect/deployments.md#delete-deployment) | | [`deployment redeploy`](/connect/cli.md#commercetools-connect-deployment-redeploy) | [Redeploy](/search.md?urn=ctp:connect:type:DeploymentRedeployAction) update action | | [`deployment logs`](/connect/cli.md#commercetools-connect-deployment-logs) | [Query Deployment Logs](/connect/deployment-logs.md#query-deployment-logs) | Commands for [local development](/connect/cli.md#connector-development-commands) and [CLI authorization](/connect/cli.md#cli-authorization-commands) don't have direct Connect API equivalents. ## Connector development commands The following CLI commands are available for developing a Connector. ### `commercetools connect init` Use this command to create a new Connect project. ```bash commercetools connect init DIRECTORY [--template tax-integration|product-ingestion|email-integration|payment-integration|fulfilment-integration] ``` This command uses the following arguments and flags: ```bash ARGUMENTS DIRECTORY project directory FLAGS --template=