Install Node.js on Windows
Required runtime for the three main AI coding tools.
Important
Claude Code, CodeX, and Gemini CLI all require Node.js 18+. If Node.js 18 or later is already installed, you can skip this page. Check with node -v.
Method 1: Official Installer (Recommended)
- Visit the Node.js website: https://nodejs.org/en/download
- Download the LTS Windows Installer (
.msi) - Run the installer with the default options
- The installer will configure the system PATH automatically

Method 2: Package Manager
Winget
For Windows 11 or recent Windows 10 versions:
powershell
winget install OpenJS.NodeJS.LTSChocolatey
Install Chocolatey first, then run:
powershell
choco install nodejs-ltsScoop
powershell
scoop install nodejs-ltsVerify Installation
Open Command Prompt or PowerShell and run:
powershell
node --version
npm --versionIf version numbers are shown, such as v18.x.x or later, installation succeeded.
FAQ
"Not recognized as an internal or external command"
- Reopen the terminal
- Check whether the PATH environment variable includes the Node.js path
- Restart the computer and try again
Installation Failed
- Run the installer as administrator
- Temporarily disable antivirus software and retry
- Check whether the system drive has enough space
Next Steps
Environment Ready
You can now install Claude Code, CodeX, or Gemini CLI.