npm remove dev dependencies code example Example: npm remove dev dependencies from node_modules npm uninstall --save-dev package_name