Stop Drowning in node_modules

Reclaim your disk space with npkill

2025-11-27


JavaScript developers have one common enemy: the black hole known as node_modules.

We all have that workspace folder where projects go to die. I checked mine recently. Gigabytes lost to dependencies for projects I haven’t touched in months. Dead weight.

Deleting them manually is slow. Using rm -rf blindly is risky.

The solution is npkill.

It offers a clean terminal UI to wipe out old dependencies with a single keystroke.

How to use it

Go to your main folder and run:

npx npkill
  1. Arrows to navigate.
  2. Space to delete.

That’s it.

No installation needed. It scans fast. You destroy fast.

There is something genuinely therapeutic about freeing up 50GB of space in 10 seconds. Keep what you need, kill what you don’t.