Install package json code example
Example 1: install node_modules
npm install
Example 2: how to install dependencies from package.json
npm install // installs dependencies listed in package.json
Example 3: install node_modules folder
npm install (with no args, in package dir)
Example 4: install an npm package
npm install package-name
To save as a dependency:
npm install package-name --save
Example 5: install dependencies npm
# npm install