pxxl sandbox (or pxxl sandboxes) manages sandboxes from your terminal. Sign in first with pxxl login --api-key <key>, using a key scoped to all or sandbox.
Wherever a command takes <sandbox>, pass its id or its name. Add --team <id> for a team’s sandboxes and --json for the raw API response.
Create
Run commands
-- is the command. Output streams as it’s produced, and pxxl exits with the command’s exit code (124 if it timed out), so it works in scripts and CI:
-- are joined with spaces and run by the sandbox’s shell. Quote the command to keep &&, |, or $VARS away from your local shell.
Add --background to start a server or watcher without waiting for it. It prints the pid and the log file.
Processes
kill sends TERM by default. --signal takes TERM, KILL, INT, or HUP.
Files
upload, download, write --file, and piped input copy the bytes exactly, so images and archives arrive intact. upload puts the file in /workspace under its own name when you leave out the remote path; download saves to the current directory, or to stdout with -. read prints text.
Start, stop, and delete
delete asks first in a terminal. In scripts, pass --yes.
Network policies
A sandbox reaches the whole internet unless you say otherwise.pxxl sandbox network shows the policy; add a flag to change it.
github.com exactly, *.npmjs.org any subdomain) or public IPv4 addresses and CIDRs, up to 64. Changes apply to new connections at once; open connections are not cut. For a sandbox created before network policies, the CLI says the change applies at its next start.
Snapshots
Save a running sandbox’s home directory (global installs, dotfiles) and/workspace, then start new sandboxes from it. Memory and running processes aren’t kept.
Plus keeps 5 snapshots, Pro 25, and Enterprise 100. A snapshot that sandboxes still use can’t be deleted: the CLI prints the API’s message and the sandbox IDs using it.
Fast starts
Default-sizenode, python, and base sandboxes start in about 2 seconds from a warm pool, so create --wait is quick. There’s nothing to set.
Inspect
Terminal
--url prints the one-time WebSocket URL instead, for another client. The terminal is available when terminals are enabled for your account.
Use a staging Gateway
SetPXXL_API_URL to send the CLI to another Pxxl Gateway. Only https:// hosts under pxxl.app and localhost are accepted.

