install npm on a folder code example
Example: install an npm package
npm install package-name
To save as a dependency:
npm install package-name --save
npm install package-name
To save as a dependency:
npm install package-name --save