Codex
brew install --cask codex
v0.141.0
OpenAI's AI coding agent that runs in your terminal to help write and debug code.
Why you might care
Codex is OpenAI's native terminal interface for AI-assisted coding, offering direct access to their models without leaving the command line. It's useful if you prefer CLI workflows or want a lightweight alternative to IDE extensions, though it requires an OpenAI API key and paid access.
68.7k
30-day installs · #2
240.2k
90-day · #2
507.8k
365-day · #2
92.3k
★ GitHub stars · updated today
Links
- https://github.com/openai/codex
- GitHub: openai/codex
- Brew formula source: Casks/c/codex.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"alternatives": [
"GitHub Copilot",
"ChatGPT",
"Claude",
"Cursor"
],
"artifacts": [
{
"binary": [
"codex-aarch64-apple-darwin",
{
"target": "codex"
}
],
"target": "$HOMEBREW_PREFIX/bin/codex"
},
{
"generate_completions_from_executable": [
"codex-aarch64-apple-darwin",
"completion",
{
"base_name": "codex",
"shell_parameter_format": null,
"shells": [
"bash",
"zsh",
"fish"
]
}
]
},
{
"zap": [
{
"rmdir": "~/.codex"
}
]
}
],
"auto_updates": null,
"categories": [
"dev-tools",
"ai",
"terminal"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "OpenAI\u0027s coding agent that runs in your terminal",
"disable_reason": null,
"disabled": 0,
"display_name": "Codex",
"enrichment_fetched_at": "2026-06-20T22:41:40+00:00",
"first_seen": "2026-06-20T00:47:34+00:00",
"full_token": "codex",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-20T21:31:18Z",
"github_readme_excerpt": "\u003cp align=\"center\"\u003e\u003cstrong\u003eCodex CLI\u003c/strong\u003e is a coding agent from OpenAI that runs locally on your computer.\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"https://github.com/openai/codex/blob/main/.github/codex-cli-splash.png\" alt=\"Codex CLI splash\" width=\"80%\" /\u003e\n\u003c/p\u003e\n\u003c/br\u003e\nIf you want Codex in your code editor (VS Code, Cursor, Windsurf), \u003ca href=\"https://developers.openai.com/codex/ide\"\u003einstall in your IDE.\u003c/a\u003e\n\u003c/br\u003eIf you want the desktop app experience, run \u003ccode\u003ecodex app\u003c/code\u003e or visit \u003ca href=\"https://chatgpt.com/codex?app-landing-page=true\"\u003ethe Codex App page\u003c/a\u003e.\n\u003c/br\u003eIf you are looking for the \u003cem\u003ecloud-based agent\u003c/em\u003e from OpenAI, \u003cstrong\u003eCodex Web\u003c/strong\u003e, go to \u003ca href=\"https://chatgpt.com/codex\"\u003echatgpt.com/codex\u003c/a\u003e.\u003c/p\u003e\n\n---\n\n## Quickstart\n\n### Installing and running Codex CLI\n\nRun the following on Mac or Linux to install Codex CLI:\n\n```shell\ncurl -fsSL https://chatgpt.com/codex/install.sh | sh\n```\n\nRun the following on Windows to install Codex CLI:\n\n```\npowershell -ExecutionPolicy ByPass -c \"irm https://chatgpt.com/codex/install.ps1 | iex\"\n```\n\nCodex CLI can also be installed via the following package managers:\n\n```shell\n# Install using npm\nnpm install -g @openai/codex\n```\n\n```shell\n# Install using Homebrew\nbrew install --cask codex\n```\n\nThen simply run `codex` to get started.\n\n\u003cdetails\u003e\n\u003csummary\u003eYou can also go to the \u003ca href=\"https://github.com/openai/codex/releases/latest\"\u003elatest GitHub Release\u003c/a\u003e and download the appropriate binary for your platform.\u003c/summary\u003e\n\nEach GitHub Release contains many executables, but in practice, you likely want one of these:\n\n- macOS\n - Apple Silicon/arm64: `codex-aarch64-apple-darwin.tar.gz`\n - x86_64 (older Mac hardware): `codex-x86_64-apple-darwin.tar.gz`\n- Linux\n - x86_64: `codex-x86_64-unknown-linux-musl.tar.gz`\n - arm64: `codex-aarch64-unknown-linux-musl.tar.gz`\n\nEach archive contains a single entry with the platform baked into the name (e.g., `codex-x86_64-unknown-linux-musl`), so you likely want to rename it to `",
"github_repo": "openai/codex",
"github_stars": 92324,
"github_topics": [],
"homepage": "https://github.com/openai/codex",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 68725,
"installs_365d": 507843,
"installs_90d": 240198,
"last_seen": "2026-06-20T00:47:34+00:00",
"llm_generated_at": "2026-06-20T23:02:32+00:00",
"llm_model": "claude-haiku-4-5",
"names": [
"Codex"
],
"one_liner": "OpenAI\u0027s AI coding agent that runs in your terminal to help write and debug code.",
"rank_30d": 2,
"rank_365d": 2,
"rank_90d": 2,
"raw_hash": "37bb01b92efac947",
"ruby_source_path": "Casks/c/codex.rb",
"tap": "homebrew/cask",
"token": "codex",
"version": "0.141.0",
"why_use_this": "Codex is OpenAI\u0027s native terminal interface for AI-assisted coding, offering direct access to their models without leaving the command line. It\u0027s useful if you prefer CLI workflows or want a lightweight alternative to IDE extensions, though it requires an OpenAI API key and paid access."
}