how to uninstall npm using cmd code example Example: how to uninstall npm package npm uninstall -g <module_name> //to uninstall globally