Skip to main content

Install the sandscale CLI and sign in

Install the sandscale CLI on macOS or Linux, sign in and start a sandbox from the terminal.

S
Written by Sanjay Senthilkumar

The sandscale CLI runs on macOS and Linux (Windows is coming soon; until then use the TypeScript SDK or the API). It installs per user with no admin rights.

Install

brew install sandscale/tap/sandscale

Or use the one-line installer shown on the CLI reference page. It checks the download against the release checksums and signature first, and offers to sign you in. Release files and checksums are at github.com/sandscale/cli.

Sign in

sandscale login

This opens a browser sign-in. On a machine with no browser, use sandscale login --device to get a code you enter on another device. The CLI keeps its tokens in your operating system's credential store and never prints them.

Start a sandbox

sandscale sandbox create --template-id builtin:node --yes
sandscale sandbox run SANDBOX_ID "node --version" --yes

The CLI also brings sandscale mcp, an MCP server that runs on your own machine. See Connect Claude Code, Cursor and Codex over MCP.

Full command list: CLI reference.

Did this answer your question?