How to Install Node.Js on Windows

This wikiHow teaches you how to download and test Node.Js on a Windows computer. Open the Node.Js download site. Go to https://nodejs.org/en/ in your computer's web browser.

Part 1 of 2:

Installing

  1. Picture 1 of How to Install Node.Js on Windows
    Open the Node.Js download site. Go to https://nodejs.org/en/ in your computer's web browser.
  2. Picture 2 of How to Install Node.Js on Windows
    Click the Current option. It's a green box on the right side of the page. Doing so prompts the Node.Js setup file to download onto your computer.
  3. Picture 3 of How to Install Node.Js on Windows
    Double-click the setup file. You'll find it in your computer's default downloads folder.
  4. Picture 4 of How to Install Node.Js on Windows
    Click Next. It's at the bottom of the setup window.
  5. Picture 5 of How to Install Node.Js on Windows
    Check the "I accept" box. You'll find this below the terms of use.
  6. Picture 6 of How to Install Node.Js on Windows
    Click Next. It's at the bottom of the window.
  7. Picture 7 of How to Install Node.Js on Windows
    Specify an installation location. If you want to change the default installation location (which is C:Program Filesnodejs), do the following:
    1. Click Change... below the current installation path.
    2. Click the "Look in" drop-down box.
    3. Click Program Files.
    4. Select the folder in which you want to install Node.Js.
    5. Click OK.
  8. Picture 8 of How to Install Node.Js on Windows
    Click Next twice. It's at the bottom of the window.
  9. Picture 9 of How to Install Node.Js on Windows
    Click Install. You'll see this option at the bottom of the window. Node.Js will begin installing.
  10. Picture 10 of How to Install Node.Js on Windows
    Click Finish when prompted. At this point, Node.Js is installed. You can check its installation success by using Command Prompt.
Part 2 of 2:

Testing Your Installation

  1. Picture 11 of How to Install Node.Js on Windows
    Open Start
    Picture 12 of How to Install Node.Js on Windows
    . Click the Windows logo in the bottom-left corner of the screen.
  2. Picture 13 of How to Install Node.Js on Windows
    Search for Command Prompt. Type in command prompt to do so.
  3. Picture 14 of How to Install Node.Js on Windows
    Click
    Picture 15 of How to Install Node.Js on Windows
    Command Prompt. It's at the top of the Start menu. Doing so opens the Command Prompt window.
  4. Picture 16 of How to Install Node.Js on Windows
    Enter the "version" command. Type in node -v and press Enter. You should be greeted by a message that says "v Number" where "Number" is the version number of the Node.Js program you downloaded.
  5. Picture 17 of How to Install Node.Js on Windows
    Install a package if necessary. If you want to try testing Node.Js' ability to install a package, type npm install -g http-server into Command Prompt and press Enter. You should see a progress bar appear in Command Prompt, and the "http-server" extension should be installed to your Node.Js installation folder.
  6. Picture 18 of How to Install Node.Js on Windows
    Troubleshoot a bad installation. If you can't get Node.Js to work on your computer, do the following to reset it:
    1. Open the installation folder.
    2. Find the "nodejs" folder and delete it.
    3. Double-click the Node.Js installation file to restart the installation.
    4. Use the default settings to install Node.Js.
    5. If this process doesn't work, try using the LTS installation file instead of the Current installation file. You can find it on the Node.Js download site.
Update 05 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile