how to save in devlopemnt dependency code example Example: npm install dev dependencies npm install <package-name> --save-dev