• google plus

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.

Author: Chris Minnick
Chris is a prolific author and trainer, and the CEO of WatzThis?. His published books include Writing Computer Code, JavaScript for Kids, Coding with JavaScript For Dummies, Beginning HTML5 and CSS3 For Dummies, Webkit For Dummies, CIW eCommerce Certification Bible, and New Riders' XHTML.
About Webucator

Webucator provides instructor-led training to students throughout the US and Canada. We have trained over 90,000 students from over 16,000 organizations on technologies such as Microsoft ASP.NET, Microsoft Office, Azure, Windows, Java, Adobe, Python, SQL, JavaScript, Angular and much more. Check out our complete course catalog.