# 使用 Homebrew, Nix 安装 codex-acp

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

## 安装

```sh
sudo av install brew:codex-acp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install codex-acp
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#codex-acp
```

  证据: nixpkgs package indexes: pkgs/by-name/co/codex-acp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:codex-acp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/codex-acp>
- **版本:** 0.16.0
- **来源摘要:** Use Codex from ACP-compatible clients such as Zed!
- **主页:** <https://github.com/zed-industries/codex-acp>
- **仓库:** <https://github.com/zed-industries/codex-acp>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/zed-industries/codex-acp/archive/refs/tags/v0.16.0.tar.gz>
- **最后更新:** 2026-06-22T14:03:03-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- codex-acp (cli)
- codex-acp (别名)

## 构建依赖

- pkgconf
- rust

## macOS 提供的库

- bzip2

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.16.0
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/zed-industries/codex-acp
- 检测到的最新版本: v0.16.0 (当前)
## 项目历史与用法

codex-acp is an adapter that exposes OpenAI Codex through the Agent Client Protocol for ACP-compatible clients such as Zed.

### 项目历史

The Zed Industries README describes the package as an ACP adapter around the Codex CLI. It also states that development is moving to agentclientprotocol/codex-acp, where implementation and maintenance work is being pooled across teams.

### 采用历史

The README says current Zed versions can use the adapter out of the box, while other ACP clients can run codex-acp directly or via npm. The supplied package facts list Homebrew and Nix distribution.

### 使用方式

The adapter is aimed at editor and agent-client integrations rather than general shell scripting. The README lists support for context mentions, images, tool calls with permission requests, edit review, TODO lists, slash commands, client MCP servers, and ChatGPT or API-key authentication methods.

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

For package maintainers, codex-acp is an integration package sitting between a fast-moving AI coding CLI and editor-side protocol clients. Its distribution significance is less about standalone algorithms and more about making Codex installable as a protocol-speaking executable.

### 时间线

- README: Development is moving to agentclientprotocol/codex-acp.
- README: Zed can use the adapter out of the box, while other ACP clients can run codex-acp directly or via npm.

### Related projects

- The README links the adapter to OpenAI Codex, the Agent Client Protocol, Zed external-agent support, and the newer agentclientprotocol/codex-acp repository.

### 来源

- <https://github.com/zed-industries/codex-acp#readme>


## 安全说明

没有找到 codex-acp 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** codex-acp
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - codex-acp: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/codex-acp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://pkg.so/zh-hans/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/zh-hans/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [rtk](https://pkg.so/zh-hans/brew/rtk/) - Shares pkgdb curated category or tags: ai, ai-coding, cli, coding-agents.
- [specify](https://pkg.so/zh-hans/brew/specify/) - Shares pkgdb curated category or tags: ai, ai-coding, cli, coding-agents.
- [codeburn](https://pkg.so/zh-hans/brew/codeburn/) - Shares pkgdb curated category or tags: ai, ai-coding, cli, coding-agents.
- [ctx7](https://pkg.so/zh-hans/brew/ctx7/) - Shares pkgdb curated category or tags: ai, ai-coding, cli, coding-agents.
- [omnara](https://pkg.so/zh-hans/brew/omnara/) - Shares pkgdb curated category or tags: ai, cli, codex, coding-agents.
- [happy-coder](https://pkg.so/zh-hans/brew/happy-coder/) - Shares pkgdb curated category or tags: ai, ai-coding, cli, coding-agents.
- [splitrail](https://pkg.so/zh-hans/brew/splitrail/) - Shares pkgdb curated category or tags: ai, ai-coding, cli, coding-agents.
- [gemini-cli](https://pkg.so/zh-hans/brew/gemini-cli/) - Shares pkgdb curated category or tags: ai, cli, coding-agents.
- [codex](https://pkg.so/zh-hans/cask/codex/) - Local package facts share a topical domain. Shared terms: agent, agents, ai, ai-coding, cli.
- [acpx](https://pkg.so/zh-hans/npm/acpx/) - Local metadata places this package in an adjacent workflow. Shared terms: acp, agent, agent-client-protocol, agents, ai.
- [codexui-android](https://pkg.so/zh-hans/npm/codexui-android/) - Local metadata places this package in an adjacent workflow. Shared terms: agents, ai, cli, client, codex.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
