Your cart is currently empty!
How to Install Node.js and npm on Windows
If you want to build modern web applications or use popular tools like React, Angular, or Vue, you need Node.js and npm. Node.js lets you run JavaScript on your computer, while npm is the package manager that comes bundled with Node.js. Here’s how to install both on Windows, fast and easy.
1. Download Node.js Installer
- Go to the official Node.js download page: https://nodejs.org/
- You’ll see two versions:
- LTS (Recommended for most users)
- Current (Latest features, may be less stable)
- Click the green LTS button to download the installer.
2. Run the Installer
- Double-click the file you just downloaded (something like
node-vXX.X.X-x64.msi
). - The setup wizard will appear. Click Next.
3. Accept the License
- Read the license agreement, check I accept, then click Next.
4. Choose Installation Location
- The default is fine for most users. Click Next.
5. Select Components
- Leave the default options checked.
- Make sure npm package manager is selected.
- Click Next.
6. Install Tools for Native Modules (Optional)
- You might see a screen about installing additional tools (like Python and Visual Studio Build Tools).
- If you’re a beginner, you can skip this step for now. Advanced users or those working with packages that need to compile code can check this box.
7. Install
- Click Install.
- If prompted, allow changes to your computer.
8. Finish
- Click Finish when the installation completes.
9. Verify Installation
Let’s make sure everything worked.
- Open Command Prompt (press
Windows + R
, typecmd
, hit Enter). - Type:
node -v
- This shows the installed Node.js version.
- Next, check npm:
npm -v
- This shows the npm version.
If you see version numbers, you’re good to go!
10. Update npm (Optional)
Sometimes npm gets updates faster than Node.js. You can update npm by running:
npm install -g npm
Final Tips
- Now you can use Node.js and npm for your projects.
- You can install global packages, create projects, or run JavaScript scripts from the command line.
Need help?
Drop your questions in the comments, and I’ll help you out!
Tech enthusiast and content creator passionate about making technology simple for everyone. I share practical tips, guides, and reviews on the latest in computers, software, and gadgets. Let’s explore the digital world together!