> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anonalabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# anona-compute

> Manage Anona Compute sandboxes from the terminal

```text theme={null}
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

```text theme={null}
anona-compute [flags]
anona-compute [command]
```

## Commands

| Command | Description |
| - | - |
| [`config`](https://docs.anonalabs.com/compute/cli/reference/config) | Read and write profile settings |
| [`connect`](https://docs.anonalabs.com/compute/cli/reference/connect) | Open an interactive shell in a sandbox |
| [`create`](https://docs.anonalabs.com/compute/cli/reference/create) | Create sandboxes |
| [`delete`](https://docs.anonalabs.com/compute/cli/reference/delete) | Delete sandboxes |
| [`desktop`](https://docs.anonalabs.com/compute/cli/reference/desktop) | Open a sandbox desktop |
| [`exec`](https://docs.anonalabs.com/compute/cli/reference/exec) | Run a command in a sandbox |
| [`fork`](https://docs.anonalabs.com/compute/cli/reference/fork) | Fork a running sandbox into new sandboxes |
| [`info`](https://docs.anonalabs.com/compute/cli/reference/info) | Show one sandbox |
| [`keys`](https://docs.anonalabs.com/compute/cli/reference/keys) | Manage API keys (not available yet) |
| [`limits`](https://docs.anonalabs.com/compute/cli/reference/limits) | Show plan limits and usage (not available yet) |
| [`list`](https://docs.anonalabs.com/compute/cli/reference/list) | List sandboxes |
| [`login`](https://docs.anonalabs.com/compute/cli/reference/login) | Sign in through the browser (or save an API key with --with-api-key) |
| [`logout`](https://docs.anonalabs.com/compute/cli/reference/logout) | Sign out: revoke the CLI session on the dashboard and remove local credentials |
| [`logs`](https://docs.anonalabs.com/compute/cli/reference/logs) | Show sandbox logs |
| [`mcp`](https://docs.anonalabs.com/compute/cli/reference/mcp) | Run an MCP server so AI agents can use Anona Compute |
| [`pause`](https://docs.anonalabs.com/compute/cli/reference/pause) | Pause a sandbox |
| [`preview`](https://docs.anonalabs.com/compute/cli/reference/preview) | Share a sandbox port with a signed preview link |
| [`push`](https://docs.anonalabs.com/compute/cli/reference/push) | Push a git working tree into a sandbox (not available yet) |
| [`recover`](https://docs.anonalabs.com/compute/cli/reference/recover) | Recover a sandbox from its last snapshot (not available yet) |
| [`resume`](https://docs.anonalabs.com/compute/cli/reference/resume) | Resume a paused sandbox |
| [`run`](https://docs.anonalabs.com/compute/cli/reference/run) | Create a sandbox, run one command, then delete the sandbox |
| [`sandbox`](https://docs.anonalabs.com/compute/cli/reference/sandbox) | Sandbox commands (same as the top-level create, list, info, ...) |
| [`scp`](https://docs.anonalabs.com/compute/cli/reference/scp) | Copy files to or from a sandbox over SSH |
| [`ssh`](https://docs.anonalabs.com/compute/cli/reference/ssh) | SSH into a sandbox |
| [`template`](https://docs.anonalabs.com/compute/cli/reference/template) | Build and manage templates |
| [`timeout`](https://docs.anonalabs.com/compute/cli/reference/timeout) | Set how long a sandbox lives from now |
| [`usage`](https://docs.anonalabs.com/compute/cli/reference/usage) | Show usage and cost for a billing period |
| [`version`](https://docs.anonalabs.com/compute/cli/reference/version) | Print the CLI version |
| [`view`](https://docs.anonalabs.com/compute/cli/reference/view) | Open a live view of a sandbox |
| [`whoami`](https://docs.anonalabs.com/compute/cli/reference/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.\&lt;E2B\_DOMAIN](https://api.\&lt;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 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.