# 使用 Homebrew 安装 e2b

查看 e2b 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:e2b
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install e2b
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:e2b
- **软件包管理器:** Homebrew
- **版本:** 2.16.1
- **来源摘要:** CLI to manage E2B sandboxes and templates
- **主页:** <https://e2b.dev>
- **最后更新:** 2026-08-01T20:46:03Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- e2b (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.16.1
## 项目历史与用法

E2B is open source infrastructure for running AI-generated code in secure cloud sandboxes. The Homebrew package exposes the E2B CLI for managing sandboxes and templates, while the broader project centers on JavaScript and Python SDKs, code interpreter workflows, and self-hostable infrastructure.

### 项目历史

The public GitHub repository was created on 2023-03-04, during the wave of developer tooling built around LLM agents and code execution. The README describes E2B as infrastructure for starting and controlling isolated sandboxes from JavaScript or Python, with a separate Code Interpreter SDK for `runCode` and `run_code` workflows.

### 采用历史

E2B has substantial AI-developer adoption signals: the README displays monthly download badges for the Python and JavaScript SDKs, links to a cookbook of examples with different LLMs and AI frameworks, and GitHub API metadata showed 12,783 stars and 954 forks on 2026-06-30.

### 使用方式

Typical usage starts by installing the SDK, setting an `E2B_API_KEY`, creating a sandbox, and running commands inside it. The CLI package complements that workflow by managing E2B sandboxes and templates from a terminal.

### 为什么软件包爱好者会关心

E2B is package-nerd significant because it packages a new post-LLM primitive: disposable, cloud-hosted execution environments for agents. It sits between SDK, CLI, code-interpreter package, cookbook, and self-hosted Terraform infrastructure rather than being just a single binary.

### 时间线

- 2023-03-04: Public GitHub repository created.
- 2023-2026: Project developed around AI-agent sandboxes, SDKs, a code-interpreter package, examples cookbook, and self-hosting infrastructure.
- 2026-06-30: GitHub API showed active repository updates and more than twelve thousand stars.

### Related projects

- The README points to the E2B JavaScript SDK, Python SDK, Code Interpreter SDK, E2B cookbook, and self-hosted infrastructure repository, tying the CLI to a larger sandbox platform.

### 来源

- <https://github.com/e2b-dev/E2B>
- <https://raw.githubusercontent.com/e2b-dev/E2B/main/README.md>
- <https://api.github.com/repos/e2b-dev/E2B>
- <https://e2b.dev/docs>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/e2b.yml](https://github.com/mxcl/pkgdb/blob/main/combined/e2b.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
