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.md#commercetools-connect-connectorstaged-create),[Create ConnectorStaged](https://docs.commercetools.com/connect/connectors-staged.md#create-connectorstaged) [`connectorstaged describe`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-connectorstaged-describe),[Get ConnectorStaged](https://docs.commercetools.com/connect/connectors-staged.md#get-connectorstaged) [`connectorstaged list`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-connectorstaged-list),[Query ConnectorStaged](https://docs.commercetools.com/connect/connectors-staged.md#query-connectorstaged) [`connectorstaged update`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-connectorstaged-update),[Update ConnectorStaged](https://docs.commercetools.com/connect/connectors-staged.md#update-connectorstaged) using applicable [update actions](https://docs.commercetools.com/connect/connectors-staged.md#update-actions) [`connectorstaged publish`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-connectorstaged-publish),[Publish](https://docs.commercetools.com/urn?urn=ctp%3Aconnect%3Atype%3AConnectorPublishAction) update action (`certification` set to `false`) [`connectorstaged certify`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-connectorstaged-certify),[Publish](https://docs.commercetools.com/urn?urn=ctp%3Aconnect%3Atype%3AConnectorPublishAction) update action (`certification` set to `true`) [`connectorstaged preview`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-connectorstaged-preview),[Preview Connector](https://docs.commercetools.com/connect/connectors-staged.md#preview-connector) [`deployment create`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-deployment-create),[Create Deployment](https://docs.commercetools.com/connect/deployments.md#create-deployment) [`deployment describe`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-deployment-describe),[Get Deployment](https://docs.commercetools.com/connect/deployments.md#get-deployment) [`deployment list`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-deployment-list),[Query Deployments](https://docs.commercetools.com/connect/deployments.md#query-deployments) [`deployment delete`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-deployment-delete),[Delete Deployment](https://docs.commercetools.com/connect/deployments.md#delete-deployment) [`deployment redeploy`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-deployment-redeploy),[Redeploy](https://docs.commercetools.com/urn?urn=ctp%3Aconnect%3Atype%3ADeploymentRedeployAction) update action [`deployment logs`](https://docs.commercetools.com/connect/cli.md#commercetools-connect-deployment-logs),[Query Deployment Logs](https://docs.commercetools.com/connect/deployment-logs.md#query-deployment-logs) Commands for [local development](https://docs.commercetools.com/connect/cli.md#connector-development-commands) and [CLI authorization](https://docs.commercetools.com/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=