npm install package as developer dependency

Shell
npm install --save-dev package
# example:
npm install --save-dev nodemon
Source

Also in Shell: