remove global path npm code example Example 1: npm uninstall npm uninstall <module_name> Example 2: delete node module npm uninstall node_module_name