27 November 2026
Other topics
New feature
General
You can now work with commercetools APIs directly from your terminal using the commercetools CLI. The CLI brings multiple commercetools features together in one place, so you and your AI coding agent no longer need to use separate tools.

Previously, some products had their own standalone CLI, while others were not publicly documented. The new CLI brings these capabilities together, with all commands documented in one place.

The CLI is also suited for local development with AI coding agents. Agents can install the commercetools AI plugin directly from the CLI to access up-to-date knowledge of commercetools APIs and proven implementation patterns.

Existing CLIs continue to work, and you do not need to migrate to the commercetools CLI.

To get started, install the CLI with npm install -g @commercetools/cli.

The CLI includes the following commands and plugins:

  • sphere: list, get, create, update, and delete resources of the HTTP API.
  • integration-layer: build, test, and publish Commerce Integration Layer extensions.
  • connect: develop, publish, and deploy Connect applications and Connectors.
  • import: manage Import Containers, Import Operations, and Import Summaries.
  • ai install: install the commercetools AI plugin in your coding agent.
  • doctor: check the installation, authentication, and AI agent setup.