Codex

OpenAI's coding agent across desktop, CLI, IDE integrations, and cloud workflows.

OpenAIDesktop · CLI · IDE

Setup & Installation

Install

PowerShell
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

Launch

codex

Authentication

Run the tool and select Sign in with ChatGPT; alternatively configure OPENAI_API_KEY as detailed in official docs.

Config Path(Optional)

%USERPROFILE%\.codex\config.toml