Ad space · Your tool here
PluginStack
Coding Agents · by OpenAI

Codex CLI

Codex CLI official site ↗

Last checked against the official docs:

What it does

OpenAI's open-source coding agent that runs locally in your terminal. It reads and edits your code, runs commands and connects to MCP servers. Codex also comes as an IDE extension (VS Code, Cursor, Windsurf), a desktop app and a cloud version. Apache-2.0.

Who it's for

Developers and vibe coders who want a terminal agent and already have a ChatGPT plan (Plus, Pro, Business, Edu or Enterprise), or an OpenAI API key.

How to set it up

  1. Install (macOS/Linux):

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

    powershell
    powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
  3. Or with npm or Homebrew:

    bash
    npm install -g @openai/codex
    # or
    brew install --cask codex
  4. cd into your project and run codex, then choose Sign in with ChatGPT. Add an AGENTS.md file for project instructions.

    bash
    codex

Check the official Codex CLI docs for the latest steps.

Example prompts

prompt
Explain this codebase and where the main entry point is.
prompt
Find the bug that makes the login test fail and fix it.
prompt
Add a dark mode toggle and run the build to make sure it passes.

Demo

Demo coming soon

A short walkthrough of Codex CLI in action.

See all Coding Agents on PluginStack