Comparison

RepoSweep vs npkill.

npkill is a great free CLI for one job: finding and deleting node_modules. RepoSweep covers the same case plus everything else that fills a developer's disk — with a safety net. Here's an honest comparison.

The short version

If node_modules is your only problem and you're comfortable with permanent deletion in a terminal, use npkill — it's free and it works. If your disk is filled by a mix of build outputs, caches, and artifacts across languages, or you want every deletion to be reversible, RepoSweep is built for that.

Side by side

npkillRepoSweep
What it findsnode_modules (plus a few configurable targets)node_modules, .next, dist, build, coverage, __pycache__, target, and other artifacts across 14 ecosystems, plus Xcode DerivedData and global npm/Homebrew/Gradle/Cargo caches, plus Downloads
InterfaceTerminal (interactive CLI)Native macOS app
DeletionPermanent (no Trash)macOS Trash only — reversible with Put Back
Safety checksPath-basedVerifies project ecosystem, checks Git status (tracked files never offered), revalidates every item immediately before cleanup
Explains matchesNoSafety label, evidence, and regeneration command per item
PrivacyLocalLocal — no account, telemetry, or network except explicit update checks
PriceFree (open source)Free unlimited scanning; one-time $12 license for cleanup

Where npkill wins

Where RepoSweep wins

Try both: npx npkill costs nothing, and RepoSweep's scan is free without limits — you'll see exactly how much space each approach can recover before paying anything.

Free to scan

See what npkill can't find.

Download RepoSweep