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