DEV Community

Joel Varty
Joel Varty

Posted on

3 1

I just used npkill to clean up 7 GB of disk space

You don't even know how much space your node_modules folders are taking up until you use this tool!

npkill will scour all subfolders from where you run it and allows you to easily clear out the node_modules folder.

When you need to run the projects in the folders again, you can simple run npm install to restore the dependencies.

Here's what happened for me:

Alt Text

For a longer introduction and description, see Carlos Caballero's article here.

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay