Codex CLI

Active
GitHub Rust Apache-2.0

Description

Codex CLI is OpenAI's open-source coding-agent command-line tool for code understanding, refactoring, generation, and terminal collaboration in developer workflows.

Key Features

  • Locally-running coding agent - interact with code directly in terminal for understanding, refactoring, and generation
  • ChatGPT account integration - sign in with Plus/Pro/Business/Enterprise plans to use Codex
  • Multi-platform installation - curl script, npm, Homebrew, and pre-built binary packages available
  • IDE integration - extensions available for VS Code, Cursor, Windsurf and other editors
  • Desktop app mode - launch standalone desktop experience via codex app command

Use Cases

💡 Quickly understand architecture and logic of unfamiliar codebases from the terminal
💡 Leverage AI assistance for code refactoring and bug fixing
💡 Use as a local coding assistant for ChatGPT subscribers
💡 Integrate into developer workflows for automated code generation tasks
💡 Get context-aware code suggestions and help within IDE editors

Quick Start

# One-line install for Mac/Linux
curl -fsSL https://chatgpt.com/codex/install.sh | sh

# Or install via npm
npm install -g @openai/codex

# Launch Codex CLI, choose ChatGPT sign-in
codex

# Or install via Homebrew
brew install --cask codex

Related Projects