The blogs demonstrate to download nodejs and install NodesJS in Windows Machine. This demonstration conducted with OS Windows 10 with 64 bit.
Steps of NodeJS Installation
To install NodeJS in your Windows 10 machine, follow the below steps. here as I have a 64-bit OS machine, I have downloaded a 64-bit setup file.
- Visit to the site, check latest nodejs version and download nodejs necessary binary files (In our example, download the 64-bit setup files) and wait for complete.
- After successfully downloaded ,double click on the downloaded .msi file to start the installation. Click the Run button in the first screen to begin the installation.
- The NodeJS setup window will appear, click the "Next" button to continue with the installation.
latest nodejs version
- The license window will appear ,accept the license agreement and click on the Next button.
- The next screen is destination window where installation path is mentioned, as we are new to this we will note change the destination path. Click on the Next button to proceed ahead with the installation.
- In the custom setup winodw, accept the default components and click on the next button.
- The ready to install window will appear , click on the 'Instll' button.
- The installation process will continue wait for complete , after completing the process the Complete Window will appear. Click on the Finish button and you are now done with.
Verify NodeJS Installation.
To see if the NodeJS is installed, open the Windows Command Prompt, Powershell, or a similar command-line tool, and type node -v. This should print a version number, so you’ll see something like this v0.10.35.
node js version check |
You may get below error when you execute above command sometimes. Because the path of NodeJs not updated in the environment variables with NodeJS installation due to some security issues, usually the nodejs Installation process updates the environment variales in a system.
node is not recognized as an internal or external command.
In such cases you need to do it manually, the below steps guide how to add or update environment variable for NodeJS.
- Right click on the window icon of your system.
- Then click on to the System.
- The Settings window will be opened, on the right side panel find the Advanced system settings and click on it.
- On the system properties window, click on the environment variables button.
- You will get list of variables (User and System) on the in the Environment variables window, select the Path variable in system variable category and click on the edit button.
- The Edit environment variable window will be appeared. Here you can enter the path of the folder where nodejs is installed.
- Go to C drive then Program File then find nodejs inside it.
- Open the nodejs folder, then copy the path of the folder from address bar. The folder path should be like below.
C:\Program Files\nodejs
- Click on the New button, you will get mouse focuse in gird row. past the copied path.
- then click OK->OK->OK
- You are done with environment variable update. now check again the nodejs version in command prompt.
- This time you will get the current version of nodejs, if you are still getting same message you need to talk with system administration
Summary
Here in the above, we saw how to download the latest nodejs version and install node js windows,also saw the corrent site to download nodejs. I hope you have enjoyed it a lot.