how to delete a package of npm code example Example 1: uninstall node package npm uninstall <package_name> Example 2: uninstall nodemon globally npm uninstall nodemon