Codex CLI
Last updated
Codex CLI is an open‑source local coding agent that runs in your terminal, letting you write, edit, and understand code without leaving the command line.
Install with winget
$ winget install --id OpenAI.Codex --exact --version 0.152.0Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialNo credit card required.
Installers · v0.152.0
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
No known CVEs for Codex CLI.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.
Related apps
More from OpenAI, Inc. or browse agent, ai, cli.
Frequently asked questions
How do I install Codex CLI on Windows?
How do I install Codex CLI silently for unattended deployment?
How do I uninstall Codex CLI via winget?
Is Codex CLI free?
Does Codex CLI work on Windows 10?
How do I keep Codex CLI up to date?
Recent versions
- 0.152.0latest
- 0.150.1
- 0.150.0
- 0.149.0
- 0.148.0
- 0.146.1
- 0.146.0
- 0.145.0
- 0.144.6
- 0.144.5