install dev dependency code example
Example 1: how to install as dev dependency
npm install <package-name> --save-dev
Example 2: npm install dev dependencies
npm install <package-name> --save-dev
Example 3: npm install in dev mode
npm install packageName --save-dev