0xray/CLI

OpenAI Codex CLI · Command Reference

Every command, its core logic
made clear.

Verified against v0.139.0 · 2026-06-10

Install

$ curl -fsSL https://chatgpt.com/codex/install.sh | sh
$ brew install --cask codex
$ npm install -g @openai/codex