NPM is a way to install Javascript libraries on your system... like pip
for python.
First you have to install node.js
bash sudo apt install nodejs
Then you can install using:
bash sudo apt install npm
You can use the npm website to find packages, and instructions on how to install them.
It holds all your application's information, importantly it's dependencies!
npm i <package_name>