Get Started

Install the community fork of Codex for Windows in just a few minutes. Use the same command for new installs and upgrades, and keep this page handy whenever you refresh your environment.

Already have Node.js?

Skip straight to the npm install step. We support Node.js 22 and later. Make sure your PowerShell session has the desired version active before installing.

Need Node.js first?

Install the latest version of nvm-windows so you can switch Node versions with ease. We recommend Node.js 22 for the best experience.

If you need Node.js

  1. Download the latest installer from coreybutler/nvm-windows and follow the prompts.
  2. Open a new PowerShell window and install Node.js 22:
    nvm install 22
    nvm use 22
  3. Verify your versions:
    nvm -v
    node -v

Install or update Codex for Windows

Use the same command to install fresh or upgrade to the latest release. The package name mirrors the official deployment, but ships with Windows fixes.

npm i -g @cpjet64/codex-windows@latest

After installation, launch the CLI from any PowerShell session:

codex-windows
Visual Studio Build Tools detected? Codex automatically picks up the MSVC environment when VS Build Tools are installed, so you do not need to start from a "Developer PowerShell" prompt. A normal PowerShell session is enough.

Maintenance commands

Next steps