Categories
JavaScript Answers

How to uninstall global package with npm with JavaScript?

Spread the love

To uninstall global package with npm with JavaScript, we run npm uninstall with the -g flag.

For instance, we run

npm uninstall -g webpack

to uninstall the global version of webpack.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *