Skip to main content
The SmolVM CLI lets you create and manage disposable computers from your terminal. Use it when you want to start a sandbox, open a shell, move files, expose a local port, or run the dashboard without writing Python code.

Install

Install the base CLI:
Install the dashboard and HTTP server dependencies:

Command groups

Everyday sandbox workflow

Create a sandbox, open the fast shell, then stop it when you are done:
Use SSH when you specifically need a real SSH session:
List your sandboxes:
Run a single command in a sandbox from a script or agent — the guest’s exit code becomes smolvm’s exit code:
Read the host boot and console log when something goes wrong at startup:

macOS desktop workflow

On an Apple Silicon Mac, create a disposable macOS environment:
The create output confirms that the sandbox is running and includes the next command:
Run the Next command to open the sandbox in Screen Sharing:
The first run prepares a reusable local image. See Disposable macOS environments for the one-time setup, requirements, and full create output.

Tab completion

Turn on tab completion so your shell can finish smolvm commands, options, and the names of your existing sandboxes:
See smolvm completion for the manual setup and per-shell details.

Snapshot workflow

Create a checkpoint before a risky change, then restore it later:

File, env, and port workflow

Copy files, set environment variables, and expose a sandbox service:

Browser workflow

Start a browser sandbox with a live viewer:
The JSON response includes the session ID and viewer URLs. Use the session ID with other browser commands:

HTTP API workflow

Start the local API server when you want another process, script, or TypeScript client to manage SmolVM:
See HTTP API and TypeScript SDK for endpoint and client examples.

Getting help

Display help for the main command:
Display help for a subcommand:

Next steps

Create a sandbox

Start a Linux, macOS, or Windows sandbox from the CLI

Open a shell

Use the fast shell or an SSH session

Copy files

Move files into and out of a sandbox

Snapshots

Save and restore sandbox state

HTTP API

Run the local API server

Dashboard UI

Launch the dashboard interface
Last modified on August 28, 2026