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.

Set it up / Fixes

Step-by-step guides for getting Codex CLI running and fixing common errors.

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

Official demo by OpenAI on YouTube: “Meet the New Codex CLI”

Made Codex CLI? Add the badge

If you like, show that Codex CLI is listed and hand-checked here. It's optional: listings are free and we never ask for a link back.

Hand-checked on PluginStack
Get the Markdown or HTML

Markdown (for a GitHub README)

markdown
[![Hand-checked on PluginStack](https://www.pluginstackai.com/badge/hand-checked.svg)](https://www.pluginstackai.com/plugins/codex-cli/)

HTML (for a website)

html
<a href="https://www.pluginstackai.com/plugins/codex-cli/"><img src="https://www.pluginstackai.com/badge/hand-checked.svg" alt="Hand-checked on PluginStack" width="226" height="28"></a>

About the badge

Free: MCP Starter Checklist

After you set this tool up, use the one-page checklist so your next MCP server doesn't fail on first connect.

Markdown download + occasional PluginStack updates. No spam. Privacy policy.

See all Coding Agents on PluginStack