How to Install Node.js on Windows

Node.js is required for using many JavaScript tools and for creating server-side JavaScript applications. Here is how you install Node.js on Windows.

The first thing you should do is check to see if you have a version of Node.js already installed. To do that:

  1. In the Windows Search Box, type "node.js command".Windows Search Box
  2. If your best match is Node.js command prompt (Desktop app), then you have Node.js installed. Right-click on it and select Run as administrator:Node.js Command Prompt
    1. Update to the latest version using npm i -g npm.
    2. You now have the latest version installed. You do not need to continue with these instructions.
  3. If you do not get a match for Node.js command prompt (Desktop app), then Node.js is not installed. Continue with these instructions to install it.
  4. Go to nodejs.org. You'll see download links for Windows. Node.js Windows Download Links If you are using Node.js for a Webucator class, you should select the LTS version. The Current version has the latest features, but may be more prone to changes and bugs than the LTS (Long Term Support) version.
  5. When the file finishes downloading, locate it in Windows Explorer and double-click on it.
  6. Go through the entire installation process. Installation Process
  7. When installation is complete, close the installer.
  8. In the Windows Search Box, type "node.js command", locate Node.js command prompt (Desktop app), right-click on it and select Run as administrator:Run Node.js as Admin
  9. Enter node - v in the Command Prompt to verify that Node.js is installed correctly and to see the version of Node.js that was installedNode.js Command Prompt

If a version was output, then you're all set.


Related Articles

  1. Node.js and Node Package Manager (npm)
  2. How to Install Node.js on a Mac
  3. How to Install Node.js on Windows (this article)