npm uninstall --save-dev code example Example 1: npm uninstall npm uninstall <module_name> Example 2: uninstall node package npm uninstall <package_name>