anona-compute manages Anona Compute sandboxes through the E2B-compatible API.
Configuration comes from flags, then the environment (ANONA_COMPUTE_API_KEY or
E2B_API_KEY, ANONA_COMPUTE_DOMAIN or E2B_DOMAIN, ANONA_COMPUTE_API_URL or
E2B_API_URL), then the profile in $XDG_CONFIG_HOME/anona-compute/config.toml.
Usage
anona-compute [flags]
anona-compute [command]
Commands
| Command | Description |
|---|---|
config | Read and write profile settings |
connect | Open an interactive shell in a sandbox |
create | Create sandboxes |
desktop | Open a sandbox desktop |
exec | Run a command in a sandbox |
fork | Fork a running sandbox into new sandboxes |
info | Show one sandbox |
keys | Manage API keys (not available yet) |
kill | Kill sandboxes |
limits | Show plan limits and usage (not available yet) |
list | List sandboxes |
login | Sign in through the browser (or save an API key with —with-api-key) |
logout | Sign out: revoke the CLI session on the dashboard and remove local credentials |
logs | Show sandbox logs |
mcp | Run an MCP server so AI agents can use Anona Compute |
pause | Pause a sandbox |
preview | Share a sandbox port with a signed preview link |
push | Push a git working tree into a sandbox (not available yet) |
recover | Recover a sandbox from its last snapshot (not available yet) |
resume | Resume a paused sandbox |
run | Create a sandbox, run one command, then kill the sandbox |
sandbox | Sandbox commands (same as the top-level create, list, info, …) |
scp | Copy files to or from a sandbox over SSH |
ssh | SSH into a sandbox |
template | Build and manage templates |
timeout | Set how long a sandbox lives from now |
usage | Show usage and cost for a billing period |
version | Print the CLI version |
view | Open a live view of a sandbox |
whoami | Show who the CLI is signed in as |
Flags
| Flag | Type | Description |
|---|---|---|
--api-key | string | API key (env ANONA_COMPUTE_API_KEY, E2B_API_KEY) |
--api-url | string | API URL (env ANONA_COMPUTE_API_URL, E2B_API_URL; default https://api.<E2B_DOMAIN>) |
--help, -h | help for anona-compute | |
--json | JSON output: one object per line on stdout (same as -o json) | |
--output, -o | string | output format: text or json (default “text”) |
--profile | string | config profile to use (env ANONA_COMPUTE_PROFILE; default “default”) |
--request-timeout | duration | timeout for each API request (0 = none) |
--verbose, -v | verbose output on stderr |