In this document, we will cover installation procedure of nodejs on windows 10 operating system
This guide assumes that you are using Windows 10. Before you begin, you should have a user account with installation privileges and should have unrestricted access to all mentioned web sites in this document.
This document can be referred by anyone who wants to install latest nodejs on windows 10
2. Click on windows Installer to download the latest version of node installer.
1. Click on the downloaded node-vxx.xx.xx.msi ( for example node-v10.15.0.msi) in previous step to start the installation which brings up below screen. Please click Next
2. By clicking next in previous step you will be asked to accept license, please accept by clicking checkbox and click Next
3. Click Next
5. Click Install, this may need elevated permissions provided necessary rights requested
6. Click Finish
You should see an output like below (Note: Your version may vary depending on your date of installing as nodejs team make an aggressive release but make sure your node version is > v10.0.0)
You should see an output like below (Note: Your version may vary depending on your date of installing as nodejs team make an aggressive release but make sure your npm version is >5 )
console.log("Hello World Node!!")
node command line with file name as an argument will load, read, compile and execute the instructions from the file and execute them. Since we have one line of JS code which prints the text “Hello World Node” to console inside helloworld.js file you see the output as shown in above screenshot