# codex を Homebrew Cask でインストール

codex のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install cask:codex
```

## エージェント安全性の回答

codex is an AI coding agent application with local file and tool access potential.

- **認証情報アクセス:** May access repository files, local configs, and credentials exposed to its runtime.
- **リモート変更:** Can ask or drive tools that mutate repositories, packages, and cloud services.
- **公開/成果物リスク:** Can generate code, patches, and release commands.
- **推奨コントロール:** Run with scanned worktrees and gate sensitive host tool calls.
- **エージェント利用ガイダンス:** Limit workspace scope; require approval before commands expose secrets or change remote state.

追加のインストールコマンド:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask codex
```

  証拠: local Homebrew cask metadata

## パッケージ情報

- **パッケージキー:** cask:codex
- **パッケージマネージャ:** Homebrew Cask
- **パッケージマネージャページ:** <https://formulae.brew.sh/cask/codex>
- **バージョン:** 0.146.0
- **ソース概要:** OpenAI's coding agent that runs in your terminal
- **ホームページ:** <https://github.com/openai/codex>
- **リポジトリ:** <https://github.com/openai/codex>
- **ソースアーカイブ:** <https://github.com/openai/codex/releases/download/rust-v0.146.0/codex-package-aarch64-apple-darwin.tar.gz>
- **最終更新:** 2026-07-29T08:14:29-07:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- codex (バイナリ)
- codex (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.146.0
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/openai/codex
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

Codex CLI is OpenAI's local coding agent, packaged as a terminal command and distributed through installation scripts, npm, GitHub releases, and Homebrew cask.

### プロジェクトの歴史

The official README frames Codex CLI as the local-computer member of the Codex product family, distinct from the editor integrations, desktop app experience, and cloud-based Codex Web. The repository also links to OpenAI's Codex documentation, install/build notes, contributing information, and an open-source fund.

### 採用の歴史

Codex is packaged for several install paths in its official README: shell install scripts for Mac, Linux, and Windows, npm as @openai/codex, Homebrew cask as codex, and downloadable release binaries. The supplied cask facts identify the Homebrew package as cask:codex.

### 使われ方

The package-facing workflow is simple: install the executable, run codex, and authenticate with a ChatGPT plan or API key. Configuration lives under ~/.codex/config.toml, and local authentication state is stored under ~/.codex/auth.json according to the existing curation.

### パッケージ好きにとっての重要性

For package nerds, Codex is notable because it ships an AI coding agent as a conventional local CLI while also spanning product surfaces: terminal, IDE, desktop app, and cloud. The Homebrew cask packages a fast-moving OpenAI developer tool as a single codex command rather than a traditional library.

### タイムライン

- README: Codex CLI is documented as a local coding agent from OpenAI.
- README: Installation paths include shell scripts, npm, Homebrew cask, and GitHub release binaries.

### Related projects

- The README distinguishes Codex CLI from OpenAI's IDE install path, Codex App, and Codex Web, while codex-acp packages Codex for ACP-compatible clients.

### ソース

- <https://github.com/openai/codex#readme>
- <https://developers.openai.com/codex>


## セキュリティノート

codex に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.codex/config.toml

## Credential files

- Unix: ~/.codex/auth.json
## ソースデータベース詳細

- **Source Database:** Homebrew cask API
- **Tap:** homebrew/cask
- **Full Token:** codex
- **Names:** Codex
- **Artifacts:** Binary: 1, Generate Completions From Executable: 1, Target: 1, Zap: 1
- **Deprecated:** no
- **Disabled:** no

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Homebrew Cask packages](https://pkg.so/ja/homebrew-cask-packages/) - Generated from Homebrew Cask package-manager metadata.
- [Homebrew Cask binaries](https://pkg.so/ja/homebrew-cask-binaries/) - Cask artifact metadata includes a binary.
- [codex](https://pkg.so/ja/npm/codex/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

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


## ソース

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- 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
