What is NPM?
NPM full form is Node Package Manager that is a command line tool. The NPM tool installs, updates or uninstalls Node.js bundle in your application.
Node Package Manager provides two primary functionalities −
- Online repository for open-source Node.js packages.
- The node community around the world install Node.js modules and publishes them as packages in this repository.
www.npmjs.com hosts thousands of free packages, you can download and use.
Download a Package
You can download package very easily.
Firstly open the command line or terminal and tell NPM to download the package you want.
Installing npm on linux
Type sudo apt install npm and enter.
After that type your computer password and enter
Do you want to continue? [Y/n] type Y nad enter
NPM install successfully