TL;DR: To install the Codex CLI, run npm install -g @openai/codex or OpenAI's one-line installer; on our Windows 11 PC it took 26 seconds and put 523 MB on disk. For a desktop app, install the ChatGPT desktop app, which now carries Codex, from the Microsoft Store, the macOS DMG or the Linux preview packages. For an editor, add the Codex extension (openai.chatgpt) to VS Code, Cursor or Windsurf, then sign in with any ChatGPT plan, Free included.
The Codex CLI binary that npm unpacks on Windows is a single 397.4 MB file, signed by OpenAI OpCo, LLC. I installed it on a Windows 11 Pro PC on November 27, 2026, and its own health check flagged Microsoft Defender first.
OpenAI has also renamed the desktop app: it is now the ChatGPT desktop app, with Codex as a mode.
- 1Windows no longer needs WSL: OpenAI's Windows docs make the native Windows sandbox the default, and WSL1 stopped working at Codex 0.115.
- 2Five of the six executables in our install carry a valid OpenAI OpCo, LLC signature; the bundled ripgrep search tool is the unsigned one.
- 3The VS Code extension has 17.2 million installs, and the CLI and extension share one sign-in.
- 4An API key works for local use but skips the cloud features, GitHub code review among them.












