npm install dev dependencies

Shell
npm install --save-dev package
# example:
npm install --save-dev nodemonnpm install <package-name> --save-dev

Source

Also in Shell: