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