Step 1: Go to the official website of Nodejs NodeJs.org
Step 2: Navigate to the downloads section of the website. You will se two options LTS and current. select the LTS version and choose the 32 bit or 64 bit installer depending upon the configuration of your machine. As shown below.
Step 3: In my case my machine is 64 bit machine. So will select 64 bit and click to download the setup of nodejs. Nodejs setup will start downloading.
After downloading Nodejs setup click on it and allow any permission if required. Now a Nodejs installation wizard will be opened as shown below.
Step 4: Now to install nodejs on windows click next. This will open end-user agreement. Check the I accept the terms checkbox and click next.
Step 5: Next the setup will ask for the destination folder where you intend to install nodejs. Keep the default value and click next.
Step 6: Now the setup will ask if you want to customize your nodejs installation setup. I will suggest you to keep the default values and click next.
Step 7: Next the setup will ask you to install the native tools like python and visual studio build tools. Check the checkbox if you want to install those tools or you can skip the native tool installation by ignoring the checkbox and clicking next.
Step 8: Now the nodejs installation wizard is ready to install nodejs to windows. Click install to start the installation.
Step 9: The setup wizard will start the installation. Please wait for the installation to complete.
Step 10: After completing installation below message will be shown by the wizard.
Step 11: To confirm if the node has been installed correctly or not run the below query on command prompt.
If these command returns some version information like below then node is installed successfully on your windows machine. Happy coding