How to Install Node.js on Windows

  • google plus

In Brief...

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

Instructions

  1. Go to nodejs.org. You'll see download links for Windows.
    Node.js Windows Download Links
  2. Choose either the LTS or Current version and click on the link to download it. The Current version has the latest features, but may be more prone to changes and bugs than the LTS (Long Term Support) version. If you know that your application works on both versions, the Current version is usually the better choice, while the LTS version is usually the better choice for deploying to a server.
  3. When the file finishes downloading, locate it in your Downloads folder and double-click on it.
  4. Go through the entire installation process.
    Installation Process
  5. When installation is complete, locate the Node.js Command Prompt by entering node.js into the Search bar.
  6. Right-click on Node.js Command Prompt and choose Run As Administrator.
    Opening the node.js Command Line on Windows
  7. Enter the following command in the Command Prompt to verify that Node.js is installed correctly and to see the version of Node.js that was installed.
    node -v

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.

Discuss