How to install and download nodejs and npm for window os
In this tutorial, You will learn how to install and download node for windows os. first, We will know about node js. Nodejs is an open-source framework it used the javascript server and it is run on different os like as Windows, Linux, Unix, and Mac, etc. we will follow the below step using, we will download the node and install it.
Download & Install Node.js and NPM on Windows os
Now, we go to node js official site and operating system configuration wise download current version MSI file. we will install after download.
Verify the Installation of node js and NPM on windows os.
We will check the node js and NPM is already installed or not, using the below command.
1 2 3 4 5 | // node version check using below command node -v // NPM version check using below command npm -v |
Update npm on windows os.
if you update globally then go to your project directory and run below command.
1 | npm install -g |
if you update npm on the window then run below command.
1 2 3 | Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force npm install -g npm-windows-upgrade npm-windows-upgrade |