DEV Community

Joel Jaison
Joel Jaison

Posted on

Clean Up Your Workspace with npkill: An Essential Tool for Managing Old and Heavy node_modules Folders

Hi everyone,

I recently came across a really useful npm package that I wanted to share with you all. It's called npkill, and it makes it easy to find and remove old and heavy node_modules folders that are taking up space on your machine.

With npkill, you can list any node_modules directories in your system, as well as the space they take up. You can then select which ones you want to erase to free up space. It's a great way to clear out clutter and optimize your workspace.

One thing I really like about npkill is how easy it is to use. You don't even need to install it - simply run the command npx npkill, and you're good to go. And if you do want to install it, it's as simple as running npm i -g npkill.

I highly recommend giving npkill a try. It's been a real game-changer for me in terms of keeping my workspace clean and organized.

Top comments (0)