openai

codex

openai

A lightweight coding agent from OpenAI that runs in your terminal, with support for ChatGPT accounts or API keys.

rust-v0.169.0
Published at
9h ago
135,171
Stars
314,047
Download
Synced at
10m ago

Latest release

rust-v0.169.0Nov 13, 2026, 08:37 AM
Downloads slow? Switch the source anytime above

README

Project Overview

Codex CLI is a lightweight coding agent from OpenAI that runs locally on your computer. It provides a terminal interface and supports usage through ChatGPT accounts (Plus, Pro, Business, Edu, Enterprise) or API keys.

Key Features

  • Lightweight terminal agent: Runs locally on the command line
  • Cross-platform: Supports macOS (Apple Silicon/Intel) and Linux (x86_64/arm64)
  • Multiple installation methods: curl install script, npm, Homebrew, and GitHub Releases
  • ChatGPT integration: Use with ChatGPT Plus/Pro/Business/Edu/Enterprise plans
  • API key support: Also usable with an API key

Target Audience

  • Developers who need AI coding assistance in the terminal
  • OpenAI ChatGPT subscribers
  • Users who want a lightweight local coding agent

Quick Start

  1. macOS/Linux: curl -fsSL https://chatgpt.com/codex/install.sh | sh
  2. Windows: powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
  3. npm: npm install -g @openai/codex
  4. Homebrew: brew install --cask codex
  5. Run codex to get started

Core Advantages

  • Officially built by OpenAI
  • Lightweight, runs locally in the terminal
  • Supports both ChatGPT subscriptions and API keys
  • Cross-platform support

Release history

Sort