- In order to use Node, we should use command line tools like command prompt, PowerShell or Git shell.
- Windows installer of Node.js (Download Link)
Download the Windows installer of Node.js
Run the installer.
Follow the instruction below.
Restart your computer!
Test Node is working
Open command prompt and type “node -v“ you should see the node’s version:
Test NPM is working
Open command prompt and type “npm -v“ you should see the NPM’s version:
Create a Test File and Test It
Open a text file and wrote below command and save as test.js
console.log(‘Node is installed!’);
Then, run it on command prompt as “node test.js”
You can update node and npm with new releases easily. It automatically overwrites the new files and if you want to uninstall them just go to control panel –> program and features and uninstall Node.js.
With these installations, we can easily install and use NPM modules.
That’s all for now.