RUST · TERMINAL · MIT
Nuke the node_modules eating your disk.
A fast, keyboard-driven terminal app. Point it at a folder, see what each one costs, and wipe the ones you don't need.
$brew install preschian/tap/nukenpm
macOS & Linux · no other tools required
▼ TRY IT: CLICK ROWS, SELECT, DELETE
// what it does
Built for reclaiming space, safely.
🔍
Recursive scan
Walks a folder and everything inside it to find every matching directory underneath.
📦
Size, files & age
Shows each folder's size, file count, and how long since you last touched it.
🕰️
Stale detection
Flags folders you haven’t touched in 6+ months, the safe ones to clear.
✅
Batch sweep
Pick several at once and reclaim them all in a single pass.
🛡️
Safe by default
Shows the total size and waits for your confirmation before it deletes anything.
⚡
Fast on huge trees
Stays snappy even on massive project folders, and reports exactly what you freed.
Not just node_modules.
Point --target at any folder name: Rust target/ dirs, Python.venv, build caches, whatever's hogging space.
$ nukenpm ~/code -t target
$ nukenpm ~/projects -t .venv
// usage
One command. A few flags.
// keys
Everything from the keyboard.
↑ / k ↓ / jMove the cursor
spaceSelect / deselect the row
aSelect all / clear selection
enter / delDelete selection or cursor row
sCycle sort: size → age → name
q / escShow the session summary
ctrl-cQuit immediately
y / nConfirm / cancel in the dialog
Reclaim your disk in one sweep.
Install once with Homebrew. Update anytime with brew upgrade nukenpm.
$brew install preschian/tap/nukenpm