uninstall global dependency npm code example Example: how to uninstall npm packages npm uninstall --save <package_name> npm un <package_name>