Skip to content

Install Node.js on Windows ​

If you just want it done fast, winget is the easiest route.

  1. Open Windows Terminal or PowerShell
  2. Run:
powershell
winget install OpenJS.NodeJS.LTS
  1. When it finishes, check the install:
powershell
node -v
npm -v

If you see version numbers, the install worked.

Option B: the official MSI installer (more visual) ​

  1. Go to the Node.js website: https://nodejs.org/
  2. Download the LTS (long-term support) release
  3. Double-click the .msi and click through with the defaults
  4. When it finishes, open Windows Terminal or PowerShell and check the install:
powershell
node -v
npm -v

If you see version numbers, the install worked.

Option C: Scoop or Chocolatey (if you already use a package manager) ​

With Chocolatey:

powershell
choco install nodejs-lts

With Scoop:

powershell
scoop install nodejs-lts

Troubleshooting ​

1) "not recognized as an internal or external command" ​

Usually PATH just hasn't refreshed:

  • Close every terminal window and open a new one
  • Still failing? Restart your computer

2) npm installs are slow (optional) ​

If npm downloads crawl on your network, you can switch to a mirror registry (and switch back any time):

powershell
npm config set registry https://registry.npmmirror.com

Check that it took effect:

powershell
npm config get registry

One base URL for GPT, Claude and Gemini