RackNerd Billboard Banner

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

  1. Go to the official Node.js download page: https://nodejs.org/
  2. You’ll see two versions:
    • LTS (Recommended for most users)
    • Current (Latest features, may be less stable)
  3. Click the green LTS button to download the installer.

2. Run the Installer

  1. Double-click the file you just downloaded (something like node-vXX.X.X-x64.msi).
  2. 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.

  1. Open Command Prompt (press Windows + R, type cmd, hit Enter).
  2. Type:
    node -v
    • This shows the installed Node.js version.
  3. 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!

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
RackNerd Billboard Banner
© 2025 Computer Everywhere
Your Everyday Guide to the Digital World.
Terms of Service | Privacy Policy
Copy link