Codex CLI is OpenAI's coding agent that runs locally on your computer. You describe a change in plain words; it inspects the files in your project, makes edits and runs the tools already installed on your machine. You choose the model and how much permission it gets, and you can also call it from scripts. It suits developers and technical makers who work in the terminal.
It is open source and runs on your own computer, so you can see exactly what it changes.
Before you start
1A computer with macOS, Windows or Linux.
2A ChatGPT account on a paid plan, or an OpenAI API key
!No free option. You need one of the plans below.
!Pay per use. The AI service it calls charges for what you use.
How to start
Install itPaste the install request into an AI agent you already use, or run the official command yourself or follow the official guide.macOS, Linuxcurl -fsSL https://chatgpt.com/codex/install.sh | shWindowspowershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"macOS, Windows, Linuxnpm install -g @openai/codex