npm remove dependencies code example Example 1: uninstall node package npm uninstall <package_name> Example 2: uninstall nodemon globally npm uninstall nodemon