Loading…
Loading documentation...
Install and configure the official sau CLI, which wraps the v1 REST API
The Servers Are Up CLI (sau) is a thin wrapper over the public v1 REST API.
Requires Node.js 20 or later. Available from source or the official client download. The package is named @serversareup/cli; it is not yet on npm. Install the verified download:
npm install -g https://serversareup.com/downloads/serversareup-cli.tgz
sau auth login --token sau_your_token
sau instances list
The CLI uses the REST API. For AI assistant integration, install the MCP server.
# Save a token to ~/.config/sau/config.json
sau auth login --token sau_your_token
# Or set an environment variable (skips saved config)
export SAU_API_TOKEN="sau_your_token"
Generate tokens from Account settings > API keys.
sau version
sau auth whoami
Configuration is stored in ~/.config/sau/config.json:
{ "token": "sau_your_token" }
sau instances list
sau instances get ins_abc123
sau instances power ins_abc123 restart
sau ssh-keys list
sau account
Use sau catalog and sau orders create --file order.json --idempotency-key purchase-attempt-001 for configured purchases, then sau orders get <order-id> to follow provisioning. sau instances ssh <instance-id> --json returns published access details, and sau instances exec <instance-id> -- uname -a runs a guest command with the required scope. See REST API v1 for accepted terms, funding, scopes and recovery-operation availability.
Open the workspace to check your machine’s connection and available controls. For automation, consult the REST API or MCP guide. Include the resource and region when you contact support.