Delete all node_modules folders from your system ? 🤔

mnathani

Murtaza Nathani

Posted on December 2, 2022

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

💖 💪 🙅 🚩
mnathani
Murtaza Nathani

Posted on December 2, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related