Install a package in the current project and save it into package.config file

$ npm install --save <package-name>

Install a package in the current project and save it as development dependency:

$ npm install -D <package-name>

Install a package globally: ``` $ npm install -g