DEV Community

Cover image for Delete all node_modules folders from your system ? 🤔
Murtaza Nathani
Murtaza Nathani

Posted on

6

Delete all node_modules folders from your system ? 🤔

Image meme for how big a node_modules can be

Is it giving you hard time to remove node_modules folders from each of your project ? 🙈

Or

You never delete node_modules after finishing project due to the tedious work nature ? 🙊

Or

Maybe you forget to delete it most of the time ? 🙉


NO WORRIES!!! 🎉

We have one simple command to delete node_modules folders inside a particular folder... or to delete all node_modules from the system then run from home directory 🔥

npx npkill
Enter fullscreen mode Exit fullscreen mode

Image how npkill works

Boom! 💥, that's it.. run this command and it shows a list of the node_modules directories in your system, as well as the size they take up. Then you can select using arrow keys and spacebar to erase it fast, Yay!


For more details check ➡️ here

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more