Node.js lets you run JavaScript outside the browser, and it comes with npm, the package manager. To install it on Windows 10 or 11, download the LTS Windows Installer (.msi) from nodejs.org, run it, and accept the defaults, or open Terminal and run winget install OpenJS.NodeJS.LTS. Close and reopen the terminal, then run node -v and npm -v to confirm both are installed. Use a version manager like nvm-windows if you need to switch between versions.

LTS or Current?
| Release line | Who it’s for |
|---|---|
| LTS (Long-Term Support) | Most people. Stable and supported for years, and what frameworks recommend. |
| Current | Developers who want the newest features and can tolerate changes |
Pick the version labeled LTS on nodejs.org unless a project tells you otherwise.
Is Node.js free?
Yes. Node.js is free and open source.
Method 1: Official Installer (Easiest)
- Go to nodejs.org and open the download page.
- Choose the LTS version and the Windows Installer (.msi) for your system, usually x64 (or ARM64 on Windows on ARM devices).
- Run the installer and click Next. Accept the license.
- Keep the default install folder and features. Make sure Add to PATH stays selected.
- On the Tools for Native Modules screen, check the box only if you’ll build packages that need C++ compilation. It installs extra tools and can take a while.
- Click Install, approve the admin prompt, and click Finish.
Method 2: winget (One Command)
- Right-click Start and open Terminal (Windows 11) or Windows PowerShell (Windows 10).
- Run
winget install OpenJS.NodeJS.LTS. - Accept any prompts, then close and reopen the terminal.
Update later with winget upgrade OpenJS.NodeJS.LTS. For the Current release, use OpenJS.NodeJS instead.
Method 3: nvm-windows (Multiple Versions)
If different projects need different Node versions, use a version manager instead of the installer. Uninstall any existing Node.js first.
- Download the latest nvm-setup.exe from the nvm-windows project’s official GitHub releases page and install it.
- Open a new terminal as administrator.
- Run
nvm install lts. - Run
nvm use lts, or the exact version number shown. - Use
nvm listto see installed versions andnvm install 22or another version to add more.
Alternatives such as fnm and Volta are also popular and work without admin rights.
Can I use Node.js in WSL instead?
Yes. Many developers install Node inside WSL (Ubuntu) for a Linux-like environment. Keep project files in the Linux file system for the best performance.
Step 2: Verify the Installation
Open a new terminal window and run:
node -vshows the Node.js version, for example v24.x.x.npm -vshows the npm version.node -e "console.log('Hello from Node')"runs a quick test.
Step 3: Try a First Project
- Create a folder and open it in the terminal:
mkdir my-app, thencd my-app. - Run
npm init -yto create a package.json file. - Create index.js with
console.log("It works!");. - Run
node index.js.
For a web project, npm create vite@latest sets up a modern starter app.
If your Node.js project needs a cache or session store, see how to get a local Redis server on Windows 10 before installing a Redis client package.
Fixing common Node.js install errors
“node is not recognized as an internal or external command”
Close and reopen the terminal, or restart the PC, so it picks up the updated PATH. If it still fails, check that C:\Program Files\nodejs\ is in System Properties > Environment Variables > Path.
“npm.ps1 cannot be loaded because running scripts is disabled on this system”
PowerShell is blocking scripts. Run Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned in PowerShell, confirm with Y, and try again. Or use Command Prompt, which isn’t affected.
Permission errors with global packages
Avoid running everything as administrator. With the standard installer, global packages go in your user profile. Version managers like nvm, fnm, or Volta avoid most permission problems.
Package builds fail with node-gyp errors
Install the Tools for Native Modules (rerun the Node installer and choose Modify), or install Visual Studio Build Tools with the C++ workload.
The wrong version runs
You may have several installs. Run where node to see which one is found first, and uninstall the extras from Settings > Apps.
How to Update or Uninstall Node.js
- Installer: download and run the newer LTS installer over the old one.
- winget: run
winget upgrade OpenJS.NodeJS.LTS. - nvm: run
nvm install lts, thennvm usewith the new version. - Uninstall: go to Settings > Apps > Installed apps > Node.js > Uninstall. Also delete leftover npm folders in
%AppData%\npmand%AppData%\npm-cacheif you want a clean slate.

Kermit Matthews runs Live2Tech from just outside Philadelphia. He is an IT specialist with over 20 years of experience, from a university help desk to small-business IT, IT management and his own consulting practice, and has written tech guides full time since 2020. Steps are checked against the current software on a real device or the maker’s official documentation. More about Kermit.