Topic: npm Basics

Uninstall a local package – npm

Preview

To uninstall a local package, enter the following command in your terminal:

npm uninstall package-name

To uninstall a local package that was installed as a devDependency, enter the following command in your terminal:

npm uninstall package-name --save-dev

To view this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.