Authenticate with Nscale using browser-based device authorization.
Authenticate the CLI with your Nscale account. This opens a browser window to complete the login flow and stores your credentials locally.
Copy
Ask AI
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:
Copy
Ask AI
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.