uninstall a library using npm code example Example 1: uninstall node package npm uninstall <package_name> Example 2: uninstall nodemon globally npm uninstall nodemon