Codex CLI

Codex CLI
Share:FacebookTelegramZalo
⚡ Quick install — copy & paste
curl -fsSL https://chatgpt.com/codex/install.sh | sh
For beginners: this command needs bash. Windows: run it in Git Bash or WSL (do NOT use PowerShell/CMD — they have no bash and it will fail) · macOS/Linux: open Terminal.
🗑️ How to uninstall (per the README)
The repo README does not say how to uninstall. Check the repo README/GitHub for the exact steps.

▶️ Usage summary

  • Install: curl -fsSL https://chatgpt.com/codex/install.sh | sh
  • Run the following on Windows to install Codex CLI: powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
  • Use: $env:CODEX_INSTALLER_USE_RELEASES_OPENAI_COM='false'; irm https://chatgpt.com/codex/install.ps1 | iex
  • Codex CLI can also be installed via the following package managers: # Install using npm
  • Use: # Install using Homebrew

🇻🇳 Đọc bằng tiếng Việt

Codex CLI — OpenAI's lightweight AI coding assistant that runs in your Terminal.

What is Codex CLI?

Codex CLI is an open-source app on GitHub (openai/codex). OpenAI's lightweight AI coding assistant that runs in your Terminal.

What can Codex CLI do?

  • AI writes and fixes code in your Terminal
  • Lightweight, from OpenAI
  • Handles coding tasks on its own

How to install Codex CLI

See the ⚡ Quick install section at the top of the page — it has a ready-to-copy command taken from the author’s README, plus where to run it. For the full instructions, see the README at the end of the page.

Frequently asked questions about Codex CLI

Is Codex CLI free?

Yes. Codex CLI is an open-source project on GitHub, so you can download and use it for free.

Is Codex CLI hard to install?

No. You only need to run one command above.

Download & source code

The source code, README and latest updates of Codex CLI are at github.com/openai/codex. The star count and update date on this page sync automatically from GitHub.

📖 Full guide

🌐 Translate (Google):

Loading the guide…

🔗 Related repos

Have a question? Ask the groupFacebook group Ask Anything (in Vietnamese): free Q&A on any topic, with real answers.Join the group →
Hoang Ngoc Quang Anh

Sharing computer, Windows and software tips. If you have a question, leave a comment below.