npm i dev dependencies install code example
Example 1: npm install without dev dependencies
npm install --only=prod
Example 2: npm install dev dependencies
npm install <package-name> --save-dev
npm install --only=prod
npm install <package-name> --save-dev