npm install devdependencies package.json code example Example: npm install dev dependencies npm install <package-name> --save-dev