Reference
Commands
Every CLI command.
[name] is optional and means the computer you used last. <name> is required. Every command takes --json.
| Command | What it does |
|---|---|
workpaper run <name> [-- cmd] | Create the computer, or wake it if it exists. Then open a shell, or run cmd in a real terminal, so interactive programs like claude or vim work. Without a name it uses the last one; a new computer always needs a name. |
workpaper instant <name> [--accept-billing] [--size small|large] [-- cmd] | Explicit opt-in to lightweight commands and automatic promotion. Shows CPU usage plus VM runtime rates before acceptance. Scripts require --accept-billing. Billing and limits. |
workpaper instant usage | CPU allowance, prepaid CPU balance and current plan's CPU/VM rates. No computer is started. |
workpaper ls | List your computers and how long each has left before it stops. |
workpaper exec [name] -- cmd | Run one command and exit with its exit code. |
workpaper desktop <name> [action] | Open the hosted viewer, capture screenshots, click, type and control a desktop. Run workpaper desktop help. |
workpaper agents [--json] | Print the complete agent guide without signing in or making network calls. |
workpaper cp SRC DST | Copy a file. The computer side is name:path or :path. See Copying files. |
workpaper stop [name] | Stop it. Billing stops; everything is kept. |
workpaper start [name] | Start a stopped computer. |
workpaper fork [name] <new> | Copy a computer into a new one, running programs and all. Needs an account. |
workpaper logs [name] | Show the computer's logs. |
workpaper top [name] | Show CPU, memory and disk use inside a full computer, plus the top processes by memory. |
workpaper rm <name> | Delete it for good. |
workpaper volume create|ls|rm <name> | Make, list or delete a shared volume. Needs an account. |
workpaper keys create <name> | Make an API key for code: the SDK, CI or an agent. Shown once. Needs an account. |
workpaper keys ls · keys rm <id> | List your API keys, or revoke one. Anything using a revoked key stops working at once. |
workpaper auth login [--device] | Sign in with your browser, or with a code. |
workpaper auth logout | Sign out on this device. |
workpaper auth status | Show whether you're signed in or on the free trial. |
workpaper doctor | Check each piece between you and your computers. |
workpaper version | Show the installed version. To update, run the install command again. |
Names
Lowercase letters, numbers and -, up to 32 characters, like my-agent. In a terminal, the CLI asks for one if you leave it out.
Environment variables
| Variable | Effect |
|---|---|
WORKPAPER_NAME | The computer to use when a command doesn't name one. |
workpaper update | Update the CLI to the latest version (also workpaper --update). The download is checked against its published SHA-256 before it replaces the old one. At a terminal, the CLI checks once a day and tells you when a new version is out, or when yours is no longer supported. |
--size small|large (flag) | On run, for a new computer: small is 2 vCPU · 4 GB (the default); large is 4 vCPU · 8 GB · 20 GB of disk with Docker running, and uses credits twice as fast. Needs an account. |
--env NAME (flag) | On run and exec: pass the variable NAME from your machine to the command, e.g. an API key. Only the name goes on the command line. |