Installing Node.js on Windows
The runtime required by all three AI coding tools
💡 Important
Claude Code, CodeX, and Gemini CLI all require Node.js 18+ to run. If you already have Node.js 18 or higher installed, you can skip this section. Verify with: node -v
Option 1: Official installer (recommended)
- Visit the Node.js website: https://nodejs.org/en/download
- Download the LTS (Long-Term Support) Windows Installer (.msi)
- Run the installer and complete the installation with the default settings
- The installer automatically configures the system PATH environment variable

Option 2: Package managers
Using Winget
For Windows 11 or the latest Windows 10:
powershell
winget install OpenJS.NodeJS.LTSUsing Chocolatey
Install Chocolatey first, then:
powershell
choco install nodejs-ltsUsing Scoop
powershell
scoop install nodejs-ltsVerify the installation
Open Command Prompt or PowerShell and run:
powershell
node --version
npm --versionIf a version number appears (e.g. v18.x.x or higher), the installation was successful.
Troubleshooting
"Not recognized as an internal or external command"
- Reopen the terminal window
- Check that the PATH environment variable includes the Node.js directory
- Restart your computer and try again
Installation fails
- Run the installer as administrator
- Disable antivirus software and try again
- Make sure there is enough free space on the system drive
Next steps
✅ Environment ready!
You're now set to install Claude Code, CodeX, or Gemini CLI.