> ## Documentation Index
> Fetch the complete documentation index at: https://e2b.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://e2b.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://e2b.manicule.dev/api/mcp.
> Every agent surface: https://e2b.manicule.dev/.well-known/llms-manifest.json

# E2B CLI (/docs/cli)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 103 · updated: 2026-07-30 -->
Related: [API key](/docs/api-key.md), [Billing & limits](/docs/billing.md), [Running commands in sandbox](/docs/commands.md), [Cookbook](https://github.com/e2b-dev/e2b-cookbook), [Filesystem](/docs/filesystem.md), [Overview](/docs/mcp.md)

E2B CLI is a command line tool that allows you to manage and interact with sandboxes and [templates](/docs/template/quickstart).

## Installation

**Using Homebrew (on macOS)**

<CodeGroup>
```bash title="Terminal" terminal
brew install e2b
```
</CodeGroup>

**Using NPM**

You can install E2B CLI using the following command:

<CodeGroup>
```bash title="Terminal" terminal
npm i -g @e2b/cli
```
</CodeGroup>
