The CLI drives the same platform as the dashboard: deployments, logs, env vars, DNS, secrets, and billing.

Install

Download the CLI archive, then install the downloaded file:

npm install -g ./setcloud-cli-0.2.0.tgz

Sign in

setcloud login

login prints a URL and a one-time code, opens your browser, and waits. Authorize in the browser; the CLI saves its credentials. Confirm with:

setcloud whoami

setcloud logout removes the saved credentials.

Everyday commands

setcloud deploy                          # build and deploy a service
setcloud logs my-app -f                  # follow live logs
setcloud env set my-app KEY=value        # also: env list, env unset
setcloud scale my-app --count 2          # run more copies
setcloud rollback my-app                 # back to the previous deployment
setcloud dns add example.com A www 203.0.113.7
setcloud secrets get prod/api-key
setcloud billing balance

Tokens for scripts

setcloud tokens create --name ci

Issues a platform API token, shown once, prefixed sc_live_. Manage with setcloud tokens list and setcloud tokens revoke <id>. Treat tokens like passwords — they act as you.

The full command reference is at /docs/cli.