how to install a dependency npm dev code example
Example 1: how to install as dev dependency
npm install <package-name> --save-dev
Example 2: npm install package as developer dependency
npm install --save-dev package
# example:
npm install --save-dev nodemon