Install Node & NPM on Windows (MSI, Chocolatey, Winget, NVM)

Easierdocs Node.js Install Article Image

Using Official Installer (Recommended)

  1. Download the installer from nodejs.org
  2. Run the downloaded .msi file
  3. Follow the installation wizard
  4. Make sure “Add to PATH” option is checked

Using Chocolatey

choco install nodejs

Using Winget

winget install OpenJS.NodeJS

Using Node Version Manager (NVM)

NVM for Windows allows you to install and manage multiple Node.js versions:

# Download and install nvm-windows from https://github.com/coreybutler/nvm-windows
nvm install lts
nvm use lts

Verify Installation

Open Command Prompt or PowerShell and run:

node --version
npm --version

If these commands output the current versions, the installation was successful.

Test Installation

Create a test file to verify Node.js is working:

echo console.log('Node.js is working!') > test.js
node test.js

You should see “Node.js is working!” printed to the console.

Last updated on