- Instralling all the packages defined in package.json
- Instralling a particular package for the given project
- Instralling package with global scope(Instralling a particular package for all of the project)
npm install
npm -i
npm install package_name
npm -i package_name
To install a particular package for all the projects, in other words install package with global scope
npm install package_name -g
npm -i package_name -g