# 使用 npm 安装 codex

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

## 安装

```sh
sudo av install npm:codex
```

## 代理安全回答

codex from npm is an AI coding agent package with local file and command access potential.

- **凭据访问:** May access project files, model tokens, environment variables, and local tool configs.
- **远程变更:** Can drive commands that mutate repositories, packages, or cloud state.
- **发布/制品风险:** Can generate code and invoke release or deployment workflows.
- **推荐控制:** Run under containment and gate sensitive host tool calls.
- **代理使用指南:** Limit workspace scope; require approval before secrets, publishing, or remote writes.

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g codex
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:codex
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/codex>
- **版本:** 0.2.3
- **来源摘要:** Static site and code documentation generator.
- **仓库:** <https://github.com/logicalparadox/codex>
- **源码归档:** <https://registry.npmjs.org/codex/-/codex-0.2.3.tgz>
- **问题跟踪器:** <https://github.com/logicalparadox/codex/issues>
- **发布时间:** 2012-05-07T07:21:12.679Z
- **最后更新:** 2012-05-07T07:21:12.679Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- codex (cli)

## 依赖

- connect
- dox
- drip
- fez
- highlight.js
- jade
- marked
- ncp
- nib
- oath
- optimist
- rimraf
- stylus
- tea
- yaml

## 构建依赖

- chai
- mocha

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.2.3
- 管理器更新时间: 2012-05-07
- 本地数据: OK
- 上游仓库: https://github.com/logicalparadox/codex
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.2.3
- **Version Count:** 12
- **Maintainers:** jakeluer
- **Author:** Jake Luer
- **Publisher:** jakeluer
- **Engines:** Node: >= 0.4.8
- **Integrity:** sha512-+MQbh3UIJRZFawxQUgPAEXKyL9o06fy8JmrgW4EnMeMlj8kh3Jljh4+CcOdH9yt82FTkmEwUR2qOrOev3ZoJJA==
- **Shasum:** 3091a8dfbc090ea61e46d8befd501ec62edea366
- **File Count:** 0
- **Created At:** 2011-10-01T23:08:40.313Z
- **Latest Published At:** 2012-05-07T07:21:12.679Z
- **Modified At:** 2025-12-07T17:03:50.619Z

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

- Nix - codex: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/codex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - codex: normalized package name match | MacPorts ports tree: llm/codex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/codex: normalized package name match | Scoop official bucket manifest trees: bucket/codex.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - OpenAI.Codex: normalized package name match | Windows Package Manager source index: OpenAI.Codex from https://cdn.winget.microsoft.com/cache/source.msix
- winget - WalkingWiFi.CodexRateLimitTray: normalized package name match | Windows Package Manager source index: WalkingWiFi.CodexRateLimitTray from https://cdn.winget.microsoft.com/cache/source.msix
- winget - jcv8000.Codex: normalized package name match | Windows Package Manager source index: jcv8000.Codex from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [codex](https://pkg.so/zh-hans/cask/codex/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, codex, developer, developer-tools.
- [docco](https://pkg.so/zh-hans/npm/docco/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, docs, documentation.
- [documentation](https://pkg.so/zh-hans/npm/documentation/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, docs, documentation.
- [codex](https://pkg.so/zh-hans/cask/codex/) - Same normalized package name appears in another local ecosystem.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
