Are you willing to install Node js on windows? Here is how we do it.
Here at Bobcares, we have seen several such Windows related queries as part of our Server Management Services for web hosts and online service providers.
Today we’ll take a look at how to install Node js on windows.
More about Node.js
Node.js is an open-source, run-time environment that executes a program written in JavaScript. NPM is abbreviated as Node Package Manager. It is mainly used to run scripts on the server to render content before it is delivered to a web browser. Also, it is installable on Linux, macOS, and Windows.
One of the advantages of installing Node.js on Windows is that a convenient installer is provided.
Install node js on Windows
Now let’s take a look at how we install Node.js on Windows.
1. The first step is to navigate to the Node.js download page: https://nodejs.org/en/download/
2. Now, click on the Windows Installer icon so that it starts downloading the installer.
3. Next, click on the downloaded file in the browser. It will open up the installer.
4. On the installer, click the Next option followed by clicking the checkbox to accept the License Agreement and continue to click Next through the prompts.
5. During this setup, there will be an option to install some optional tools to compile native modules.
6. At last, select the install option.
Once the installation is complete, the installer will prompt to hit the Finish button to close it.
Verify Node.js installation
After completing the installation process, we can quickly verify it by running a couple of commands.
1. First, we access the command prompt by pressing the Windows key, typing in cmd, and pressing enter.
To check the Node.js version for installation verification, we run the below command.
C:\Users\Administrator>node -v
v12.18.0
2. Generally, the Windows installation of Node.js includes NPM, the Node Package Manager. To verify its packages, we run the below command.
C:\Users\Administrator>npm install -g react
+ react@16.13.1
added 6 packages from 3 contributors in 0.828s
This will verify that the Node.js is installed.
How to Uninstall Node.js and NPM on Windows
We can easily uninstall Node.js from the Control Panel in Windows by following the below steps.
1. First, click on the Start button followed by Settings and Apps options.
2. Now, scroll down to find Node.js and click to highlight.
3. Finally, select the Uninstall button. This will launch a wizard to uninstall the software.
[Need any further assistance with Node.js queries? – We are here to help you.]
Conclusion
In today’s writeup, we saw how to install Node.js and verify its installation. Also, we saw how to uninstall it.
0 Comments