Skip to main content

Installation & updates

The CLI auto-checks for updates on each run. Suppress with --no-update.

Global flags

These flags work with any command:

Authentication

box onboard

Full onboarding flow: opens GitHub OAuth, authenticates, and saves your token.

box login [key]

Sign in with an existing API token, or start the browser OAuth flow if no key is given.

Box lifecycle

box new

Create a new box.
Returns the box ID, IP, and initial state.

box list

List all your boxes with their current state and ID.

box info <id>

Get details for a specific box: state, IP, desktop availability, TTL remaining.

box stop <id>

Pause a running box. Creates a snapshot then stops billing. The box enters archivingarchived.
Snapshotting takes a moment. The box is not yet stopped when the command returns — poll box info to confirm archived state.

box resume <id>

Resume a stopped box from its last snapshot.
Requires the box to have a completed snapshot (i.e. it was stopped cleanly via box stop).

box delete <id>

Permanently delete a box and all its data.

box fork <id>

Clone a box from its latest snapshot into a new independent box.
Returns the new box ID asynchronously (HTTP 202). Requires the source box to have a completed snapshot.

Access

box ssh <id>

SSH into a box. Manages the key at ~/.ssh/ascii_box_ed25519 automatically.

box scp

Copy files to/from a box. Use bx_<id>:/path as the remote address.

box forward <id>

Forward one or more ports from a box to your local machine.

box desktop <id>

Open the box’s desktop streaming URL in your browser.

AI agents

box prompt <id>

Send a natural-language prompt to an AI agent running inside the box.

Account

box limits

Display your current usage, quota, and subscription status.

box dashboard

Open your web dashboard in the browser.

box config

Show the path to your local config file and its current contents.
Config is stored at ~/.config/ascii/box/config.json.