Skip to main content
Authenticate the CLI with your Nscale account. This opens a browser window to complete the login flow and stores your credentials locally.
nscale login
Once authenticated, your credentials are saved and reused automatically for subsequent commands. For CI/CD environments where browser-based login isn’t possible, use the NSCALE_SERVICE_TOKEN environment variable instead:
export NSCALE_SERVICE_TOKEN=<your-service-token>
nscale instances list --org <org-id>
See Service Accounts for how to create and manage service account tokens.