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-cliVerify the install:
carto --version
carto --helpUpgrade
npm install -g @carto/carto-cli@latestNext 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?
