Skip to main content
Install the CLI once, then sign in.

Install

Sign In

After login, run a command:

Requirements

The CLI requires Node.js 20.19.0 or newer.

API-Key Auth

API keys are useful for server-side automation against supported customer API endpoints. Create API keys after signing in:
Then use the key for supported commands:
You can explicitly store an API key:
API keys are server-side credentials. Do not put them in browser code, public repositories, or client-side environment variables. See API Authentication for API-key guidance.

Auth Precedence

When a command needs auth, the CLI checks credentials in this order:
  1. --api-key
  2. MAITO_API_KEY
  3. saved sign-in session
  4. stored API key
If an API key is used on an unsupported route, the API returns AUTH_FORBIDDEN. Run maito login for full user CLI access.

Update

Update the CLI with:
The CLI checks npm for a newer version at most once per day. When an update is available, it prints the update command after normal human-readable command output. JSON output is not changed.