Devtoolwatch BoardGet it every Monday

Codex CLI review

Codex CLI is a coding agent from OpenAI that runs locally in your terminal on Mac, Linux, and Windows.

Updated Nov 1, 2026. Review written Oct 25, 2026 from the project's own sources; usage data refreshed every Monday.

TL;DR

Codex CLI is OpenAI's coding agent that runs locally on your computer from the terminal. It is for developers who want an agent in the command line and can sign in with a ChatGPT plan or an API key. The project is open source under Apache-2.0 and written mainly in Rust.

Codex CLI at a glance

Category
Coding agents
Maintained by
OpenAI (organization, @openai on GitHub)
License
Apache 2.0
Language
Rust, Python, Starlark
Repository
github.com/openai/codex
npm package
@openai/codex 0.164.0
Latest release
rust-v0.164.0 on GitHub, Oct 23, 2026
First published
Apr 13, 2025

What Codex CLI does

  • Codex CLI runs a coding agent locally on your computer from the terminal.
  • Codex CLI saves reusable prompts and slash commands in ten numbered /presets slots, with a keyboard menu for quick access.
  • Codex CLI sets model, reasoning effort, speed, and permission profiles with inline /model and /permissions arguments.
  • Codex CLI previews viewed and generated images in the fullscreen transcript on terminals that support Kitty or Sixel graphics.
  • Codex CLI authenticates enterprise MCP connections using eligible Codex account grants or dedicated sign-in, including OAuth clients that require secrets.
  • Codex CLI can open a desktop app experience with the codex app command.

How it works

Codex CLI is a binary you run as codex in your terminal. You install it with a standalone script, npm, Homebrew, or a GitHub Release binary. On first run, you sign in with ChatGPT or set up an API key. Version 0.164.0 can connect to enterprise MCP servers. OpenAI also offers IDE, desktop app, and cloud versions of Codex.

How to install and start using Codex CLI

On Mac or Linux

curl -fsSL https://chatgpt.com/codex/install.sh | sh

On Windows

powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

With npm

npm install -g @openai/codex

Requirements

  • A ChatGPT account on a Plus, Pro, Business, Edu, or Enterprise plan, or an OpenAI API key with additional setup.
  • Node.js 16 or later when you install with npm.
  • macOS, Linux, or Windows.

First steps

  1. Install Codex CLI with the installer script, npm, or Homebrew for your platform.
  2. Run codex in your terminal to start Codex CLI.
  3. Select Sign in with ChatGPT to use Codex CLI with your ChatGPT plan.
  4. If you use an API key instead, follow the additional setup steps in the Codex auth documentation.

Who Codex CLI is for

  • Developers who want an AI coding agent that runs in the terminal.
  • ChatGPT Plus, Pro, Business, Edu, or Enterprise subscribers who want to use Codex through their plan.
  • Enterprise teams that connect coding agents to MCP servers with OAuth sign-in.

Limitations to know

  • Codex CLI requires a ChatGPT sign-in or an API key, and the API key route needs additional setup.
  • Codex CLI publishes frequent alpha pre-releases alongside its stable versions.

Is Codex CLI growing? Usage data

In the week of Oct 25–31, 2026, Codex CLI ranked #50 on the Devtoolwatch Board and #27 in Coding agents, with a momentum score of 75 out of 100. Its main package had about 28.5M downloads that week, +9% against its own 4-week average.

New GitHub stars per week for Codex CLI12 weeks from Aug 9, 2026: 1.4k, 7.9k, 5.9k, 2k, 1.9k, 1.7k, 1.4k, 1.2k, 1.1k, 1.2k, 1.2k, 1.9k new stars, an average of 2.4k a week.Aug 9week of Oct 25
New GitHub stars per week for the last 12 weeks, from GitHub's stargazer history (today's stargazers by the week they starred).
Show the weekly numbers
New GitHub stars per week for Codex CLI
Week ofNew stars
Aug 9, 20261.4k
Aug 16, 20267.9k
Aug 23, 20265.9k
Aug 30, 20262k
Sep 6, 20261.9k
Sep 13, 20261.7k
Sep 20, 20261.4k
Sep 27, 20261.2k
Oct 4, 20261.1k
Oct 11, 20261.2k
Oct 18, 20261.2k
Oct 25, 20261.9k

On Hacker News

The Board ranks tools by four signals each week: new stars, new stars for the repo's size, added downloads and download growth beyond the market. How the ranking works.

Codex CLI alternatives

Other AI coding agents on the Board in the week of Oct 25–31, 2026, by momentum:

Coding agents ranked by momentum, the week of Oct 25–31, 2026
RankToolStarsDownloads/wk
#1CindyCindy is an open-source AI agent app for desktop and mobile that combines Claude Code, Codex and Pi across your connected devices.8.8k–
#2OpenMausBotOpenMausBot is an open-source desktop chat app where each contact is a local Claude, Codex, or Grok CLI agent with its own computer.9.6k–
#3OrcaOrca is a desktop agent development environment for running Claude Code, Codex, and other CLI coding agents in parallel, each in its own…111.7k–
#4OpenBotOpenBot is an open-source, self-hosted template for AI coworkers that each get their own browser, files and granted tools, with every…9.1k–
#5Agent ReachAgent Reach is a Python CLI that lets AI agents search and read platforms such as Twitter, Reddit, YouTube, GitHub, Bilibili and…107.2k–
#6Skill RecorderSkill Recorder is a desktop app that records your on-screen work session and turns it into a reusable agent Skill or Automation.5.6k–

All AI coding agents, ranked

Recent Codex CLI releases

Codex CLI FAQ

Is Codex CLI free and open source?

Yes. Codex CLI's source code is on GitHub (openai/codex) under the Apache 2.0 license, so you can use it for free.

How do I install Codex CLI?

Run curl -fsSL https://chatgpt.com/codex/install.sh | sh. It needs Node.js >=16. The install section above has the other options from the project's README.

Is Codex CLI still maintained?

Yes. The openai/codex repository was last updated on Oct 23, 2026, and the latest release, rust-v0.164.0 on GitHub, came out on Oct 23, 2026.

How popular is Codex CLI?

Codex CLI has 132.5k GitHub stars as of Nov 1, 2026. It gained 1.9k new stars in the week of Oct 25–31, 2026, against a 12-week average of 2.4k a week. Its main package had about 28.5M downloads that week, +9% against its own 4-week average. That made it #27 among AI coding agents on the Devtoolwatch Board.

Codex CLI vs Claude Code: how do they compare?

Codex CLI and Claude Code are both tracked by Devtoolwatch as AI coding agents. Codex CLI has 132.5k GitHub stars and Claude Code has 154.1k. In the week of Oct 25–31, 2026, Codex CLI's main package had 28.5M downloads and Claude Code's had 11.6M. Claude Code is Anthropic's agentic coding tool that reads your codebase, edits files, runs commands, and handles git workflows through natural language. Claude Code review.

Codex CLI vs OpenCode: how do they compare?

Codex CLI and OpenCode are both tracked by Devtoolwatch as AI coding agents. Codex CLI has 132.5k GitHub stars and OpenCode has 223.6k. OpenCode is an open source AI coding agent that helps you write and run code in a terminal, desktop app, or IDE extension. OpenCode review.

What are the best alternatives to Codex CLI?

Other AI coding agents on the Devtoolwatch Board in the week of Oct 25–31, 2026, by momentum: Cindy (#1), OpenMausBot (#2), Orca (#3), OpenBot (#4), Agent Reach (#5). The alternatives table above has their numbers.

Is Codex CLI open source?

Yes. Codex CLI is licensed under the Apache-2.0 License, and its source code is in the openai/codex repository on GitHub.

Is Codex CLI written in Rust?

Yes. Codex CLI is written mainly in Rust. The repository also contains Python, Starlark, TypeScript, and PowerShell code.

How do I use Codex CLI with an API key?

Codex CLI works with an API key, but this requires additional setup described in the Codex authentication docs. OpenAI recommends signing in with ChatGPT instead.

How do I use Codex CLI on Windows?

Codex CLI installs on Windows with a PowerShell command that runs the install.ps1 script from chatgpt.com. After installing, run codex to get started.

What is the difference between Codex CLI and the Codex app?

Codex CLI is a coding agent that runs locally in your terminal. The Codex app is a desktop app experience, which you can open with codex app. Codex Web is a separate cloud-based agent at chatgpt.com/codex.

Can I use Codex in VS Code or Cursor?

Yes. Codex has an IDE version for editors such as VS Code, Cursor, and Windsurf. You install it in your IDE separately from Codex CLI.

Sources

  1. openai/codex on GitHub
  2. Codex CLI README
  3. @openai/codex on npm
  4. Release rust-v0.165.0-alpha.1 (Oct 23, 2026)
  5. Release rust-v0.164.0 (Oct 23, 2026)
  6. Release rust-v0.164.0-alpha.11.1 (Oct 23, 2026)
  7. Hacker News: Codex CLI installs a persistent, self-updating background daemon by default
  8. Hacker News: Codex Security
  9. Hacker News: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
  10. Devtoolwatch Board, the week of Oct 25–31, 2026

Codex CLI README badge

Maintainers can show the tool's weekly Board rank in their README:

Devtoolwatch badge for Codex CLI

[![Devtoolwatch](https://index.devtoolwatch.com/badge/codex.svg)](https://index.devtoolwatch.com/tools/codex/)

How this page is made: Devtoolwatch writes each review from the project's README, releases, package metadata and website, with an AI model, then checks every claim against the source it cites and drops what the sources don't support. The numbers come from Devtoolwatch's daily GitHub snapshots, GitHub's stargazer history, and the npm and PyPI download APIs. Spotted an error? Email [email protected].