For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

The CARTO CLI is published on npm as @carto/carto-cli and installs as a global carto binary.

Prerequisites

  • Node.js 22 or newer. Check with node --version.

  • A CARTO organization. The CLI works against CARTO Cloud (any region) and CARTO Self-Hosted deployments.

Install via npm

npm install -g @carto/carto-cli

Verify the install:

carto --version
carto --help

Upgrade

npm install -g @carto/carto-cli@latest

Next steps

  • Authenticate to your CARTO organization with carto auth login.

  • If you manage multiple CARTO organizations or environments, set up named profiles.

Last updated

Was this helpful?