👩💻 Command line interface
Global options
--backend <BACKEND>Select the backend for this invocation instead of the configured one
backends
Report the backends available on this machine, their readiness and their capabilities
Options:
--jsonEmit structured JSON instead of a table
delete
Delete a sandbox
Arguments:
NAMEName of the sandbox to delete
Options:
-f, --forceDelete even if the sandbox is active or missing. A missing sandbox's branch may hold unmerged work
doctor
Report whether this project can create a sandbox on this machine
Options:
--jsonEmit structured JSON instead of a table
list
List all sandboxes in the current repository
pause
Pause one or more sandboxes
Arguments:
[NAME]Sandbox name to pause
Options:
--allPause all sandboxes in this repository--machinePause all Litterbox sandboxes on this machine
remote
Add the Git remote that holds this project's sandbox branches
Arguments:
[NAME]Name for the remote
resume
Resume a paused sandbox
Arguments:
NAMEName of the sandbox to resume
shell
Execute a command in a sandbox
Arguments:
NAMEName of the sandbox to run the command inCOMMANDCommand and arguments to execute
stdio
Run the MCP (Model Control Protocol) server over stdio
Exit codes
| Code | Meaning |
|---|---|
| 0 | success |
| 1 | failed |
| 2 | usage |
| 3 | not found |
| 4 | conflict |
| 5 | unsupported |
| 6 | denied |
| 7 | unavailable |
Sandbox lifecycle
A sandbox is active, paused or missing. active and paused are derived from the
sandbox's compute; missing means the record and the branch exist but the compute has
exited. Every command that takes a sandbox expects active.
Commands
| Command | active | paused | missing |
|---|---|---|---|
list | reported as active | reported as paused | reported as missing; the listing exits 0 |
shell | runs the command | exits 4, conflict, and names the resume command | repairs the sandbox, warns on stderr, then runs the command |
pause | freezes the sandbox | succeeds, changing nothing | exits 3, not found |
resume | succeeds, changing nothing | thaws the sandbox | exits 3, not found |
delete | refused without --force | removes the record and the branch | refused without --force; with it, removes the record, workspace and branch |
Creating a sandbox is only available over MCP. There is no create command.
A missing sandbox is repaired on the next command that needs live compute. The repair reuses the workspace, keeps the branch, and is reported before the command's output. A paused sandbox is refused before any join, so the caller returns immediately instead of blocking.
See Sandbox lifecycle for the state diagram, the failure classes and how to recover a missing sandbox.