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`. (a CSV formatted table follows. The first line are the column names.) CLI command,API endpoint or action [`connectorstaged create`](https://docs.commercetools.com/connect/cli#commercetools-connect-connectorstaged-create),[Create ConnectorStaged](https://docs.commercetools.com/connect/connectors-staged#create-connectorstaged) [`connectorstaged describe`](https://docs.commercetools.com/connect/cli#commercetools-connect-connectorstaged-describe),[Get ConnectorStaged](https://docs.commercetools.com/connect/connectors-staged#get-connectorstaged) [`connectorstaged list`](https://docs.commercetools.com/connect/cli#commercetools-connect-connectorstaged-list),[Query ConnectorStaged](https://docs.commercetools.com/connect/connectors-staged#query-connectorstaged) [`connectorstaged update`](https://docs.commercetools.com/connect/cli#commercetools-connect-connectorstaged-update),[Update ConnectorStaged](https://docs.commercetools.com/connect/connectors-staged#update-connectorstaged) using applicable [update actions](https://docs.commercetools.com/connect/connectors-staged#update-actions) [`connectorstaged publish`](https://docs.commercetools.com/connect/cli#commercetools-connect-connectorstaged-publish),[Publish](https://docs.commercetools.com/connect/ctp:connect:type:ConnectorPublishAction) update action (`certification` set to `false`) [`connectorstaged certify`](https://docs.commercetools.com/connect/cli#commercetools-connect-connectorstaged-certify),[Publish](https://docs.commercetools.com/connect/ctp:connect:type:ConnectorPublishAction) update action (`certification` set to `true`) [`connectorstaged preview`](https://docs.commercetools.com/connect/cli#commercetools-connect-connectorstaged-preview),[Preview Connector](https://docs.commercetools.com/connect/connectors-staged#preview-connector) [`deployment create`](https://docs.commercetools.com/connect/cli#commercetools-connect-deployment-create),[Create Deployment](https://docs.commercetools.com/connect/deployments#create-deployment) [`deployment describe`](https://docs.commercetools.com/connect/cli#commercetools-connect-deployment-describe),[Get Deployment](https://docs.commercetools.com/connect/deployments#get-deployment) [`deployment list`](https://docs.commercetools.com/connect/cli#commercetools-connect-deployment-list),[Query Deployments](https://docs.commercetools.com/connect/deployments#query-deployments) [`deployment delete`](https://docs.commercetools.com/connect/cli#commercetools-connect-deployment-delete),[Delete Deployment](https://docs.commercetools.com/connect/deployments#delete-deployment) [`deployment redeploy`](https://docs.commercetools.com/connect/cli#commercetools-connect-deployment-redeploy),[Redeploy](https://docs.commercetools.com/connect/ctp:connect:type:DeploymentRedeployAction) update action [`deployment logs`](https://docs.commercetools.com/connect/cli#commercetools-connect-deployment-logs),[Query Deployment Logs](https://docs.commercetools.com/connect/deployment-logs#query-deployment-logs) Commands for [local development](https://docs.commercetools.com/connect/cli#connector-development-commands) and [CLI authorization](https://docs.commercetools.com/connect/cli#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=