Node : How to uninstall a nodejs global dependency
Uninstall global node dependency
To uninstall a node dependency installed with -g
command you can use the following command.
npm uninstall -g <dependency>
The above command will remove that dependency from your system.
Uninstall node dependency
To remove a dependency from your project you can use the following command.
npm uninstall <dependency>
This will remove the dependency and remove its entry from the package.json
file.
No comments: