← Discover
GitHub · openai/codex

AI-assisted coding in the terminal

Codex CLI is a coding agent that runs in the terminal on your local computer. It can review code, make changes to files, and run commands.

Updates

  • October 23, 2026: Stars 129,477 → 130,548, latest release rust-v0.164.0 (October 23, 2026).
  • October 16, 2026: Stars 128,492 → 129,477, latest release rust-v0.163.0 (October 15, 2026).
  • October 10, 2026: Stars 128,208 → 128,492, latest release rust-v0.162.1 (October 9, 2026).
  • October 8, 2026: Stars 128,352 → 128,208, latest release rust-v0.162.0 (October 8, 2026).

Installation

macOS or Linux
curl -fsSL https://chatgpt.com/codex/install.sh | sh
Windows PowerShell
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

Running it

Start Codex CLI
codex

What does this tool do?

Codex CLI is a coding agent that runs in the terminal on your local computer. It can review code in a project directory, make changes to files, run commands, and help automate repetitive tasks.

Who it is for

Developers who want to work in the terminal, review the codebase, edit files, and automate repetitive development tasks.

What not to expect

It may not be suitable for those who do not want to use the terminal.

Highlights

  • It can review code and make changes to files.
  • It can run commands and automate repetitive tasks.
  • The model, reasoning effort, permissions, and command approvals can be managed by the user.
  • The GitHub repository is licensed under Apache-2.0.

First-use flow

  1. Choose the official installation method suitable for your operating system.
  2. Start Codex CLI after installation.
  3. Log in with ChatGPT or another available login method.
  4. Start from the project directory. Create a Git checkpoint before and after changes.

Safe start

It is recommended to create a Git checkpoint before and after changes. You can review permissions with /permissions and the current status with /status.

First task prompt

Ready prompt for the first step

For your first use, you can start with a review request that explains the project's purpose and file structure.

Related dictionary terms

Links

TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-08-23: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.