.do
Cli

Sandbox CLI

CLI reference for Sandbox

Sandbox CLI

A secure, isolated execution environment for running code with full VM capabilities, git integration, and agent-optimized APIs.

Commands

create

Create a new sandbox environment.

do sandbox create [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

delete

Permanently remove the sandbox.

do sandbox delete [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

execute

Run code within the sandbox.

do sandbox execute [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

terminate

Force stop any running sandbox execution.

do sandbox terminate [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

clone

Clone a git repository into the sandbox.

do sandbox clone [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

checkout

Switch to different branch or commit.

do sandbox checkout [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

pull

Pull latest changes from remote repository.

do sandbox pull [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

commit

Commit changes in sandbox to git.

do sandbox commit [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

push

Push committed changes to remote repository.

do sandbox push [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

install

Install dependencies (npm, pip, cargo, etc.).

do sandbox install [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

run

Execute shell command in sandbox.

do sandbox run [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

read

Read file contents from sandbox filesystem.

do sandbox read [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

write

Write content to file in sandbox.

do sandbox write [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

logs

Retrieve execution logs from sandbox.

do sandbox logs [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

reset

Clear sandbox state and return to initial configuration.

do sandbox reset [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

Examples

# create
do sandbox create

# With JSON output
do sandbox create --json

# Quiet mode
do sandbox create --quiet