OpenSource-Hub
C

codex

SHA-256
99.5k stars·Developer Tools·SHA-256 checksum verified

OpenAI's lightweight coding agent that runs locally in your terminal, with no IDE dependency and seamless ChatGPT integration.

Smart Download

Download Download Version

vrust-v0.144.6 · 430.3 MB

A lightweight, terminal-native coding agent from OpenAI that runs locally and integrates with ChatGPT plans.

Core Features

  • Runs entirely in the terminal — no IDE or GUI needed
  • Local execution: code never leaves your machine
  • Cross-platform: macOS, Linux, Windows
  • Install via npm, Homebrew, or direct binary download
  • Integrates with ChatGPT plans (Plus, Pro, Business, Edu, Enterprise)

What It Can't Do

  • Requires a ChatGPT account or API key; free users may have limited access
  • Currently only supports macOS, Linux, and Windows
  • Network is needed for authentication and model calls (code runs locally)
  • Users accustomed to IDE-based tools like Cursor or Copilot may need time to adapt to pure terminal interaction

Use Cases

  • Developers who prefer terminal workflow and want AI assistance without opening an IDE
  • Users needing offline-friendly or privacy-conscious coding help
  • Automation in CI/CD pipelines with lightweight scriptable agent

Detailed Introduction

Codex CLI is a free, open-source (Apache-2.0) coding agent developed by OpenAI that executes entirely on your local machine via the command line. Unlike cloud-only tools or heavy IDE plugins, Codex CLI provides instant AI code completions, debugging help, and file operations right in your terminal — no GUI required. It supports macOS, Linux, and Windows, and can be installed via package managers like npm or Homebrew. For ChatGPT subscribers (Plus, Pro, Business, Edu, Enterprise), signing in unlocks the full model and priority features. Compared to Cursor or GitHub Copilot's cloud-dependent approach, Codex CLI is lighter (no IDE overhead), more privacy-friendly (local execution by default), and directly accessible from any terminal session. It also offers a web version and desktop app for those who prefer a graphical interface.

Tags

coding agentterminalAIOpenAIcode assistantlocal AIdeveloper toolCLI tool

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Open terminal (Mac/Linux) and run 'curl -fsSL https://chatgpt.com/codex/install.sh | sh'

4

Or run 'npm install -g @openai/codex' (requires Node.js)

5

After installation, simply type 'codex' to start

Install Guide
  1. Open terminal (Mac/Linux) and run 'curl -fsSL https://chatgpt.com/codex/install.sh | sh'
  2. Or run 'npm install -g @openai/codex' (requires Node.js)
  3. After installation, simply type 'codex' to start
File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

ec5d0e03fd1e2e57357625c08341153eb0085912cbe2fe7d08c61bf493311e92

This checksum is extracted from the GitHub Release page. Verify file integrity after download.

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

If installed via npm: run 'npm uninstall -g @openai/codex'. If via Homebrew: run 'brew uninstall --cask codex'. For manual binary, just delete the downloaded file.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseApache-2.0
Last Updated2026-07-19T05:22:23Z
GitHub RepositoryOfficial Website

Similar Projects