Skip to main content
declaw sandbox (alias declaw sb) is the core command group for working with sandboxes. Global flags (--api-key, --domain, --json) apply to every subcommand.

create

Create a new sandbox.

Core flags

Security policy flags

These compose into a single security policy applied to the sandbox. See Security overview for the concepts behind them.

list

List your sandboxes (alias ls).

info

Show details for one sandbox (ID, template, state, name, start/end time, metadata).

kill

Destroy one or more sandboxes.

pause / resume

Pause a running sandbox (freeing compute) and resume it later from where it left off.

exec

Run a command inside a sandbox. Use -- to separate the command from CLI flags. Output streams live; the command’s exit code is propagated.
With --json, output is buffered and printed as {exit_code, stdout, stderr}.

connect

Open an interactive terminal (PTY) into a sandbox, sized to your local terminal and resized on window changes. Disconnect with Ctrl-D or exit.

files

Transfer and list files in a running sandbox.

Next steps