v0.6.0Signed releases, trusted publishing →

Reclaim disk space from every project — safely.

purgeit finds node_modules, target, dist, Pods and 61 more kinds of regenerable build output across all your projects — and deletes only what it can prove is safe.

$ npx purgeit ~/dev
purgeit scan ~/dev
$ purgeit scan ~/devPROJECT                    SIZE  ITEMS  ACTIVE  ECOSYSTEMSold-api                 1.3 GB      2     4mo  JS/TSmocha                   1.8 GB      3     5mo  JS/TS · Applemail                    6.9 GB      1      5m  Rustpushstack (+1 worktree)   2 GB      5      2m  JS/TS 8 projects · 14.8 GB reclaimable — scanned 1 root in 2.1s3.1 GB of that is in 2 dormant projects — purgeit clean --stale targets them. $ purgeit clean ~/dev --stale --dry-runDry run: would delete 5 artifacts, freeing 3.1 GB

Four checks between “found it” and “gone”

  1. 01

    Scan

    Rules claim directories. One pass measures size, files and last activity.

  2. 02

    Protect

    Nested repos, deploy keys and git-tracked files are locked and can’t be selected.

  3. 03

    Review

    Nothing preselected. See what, why, and how much — then confirm.

  4. 04

    Verify & delete

    Every path is re-checked right before it is removed. Unverifiable means refused.

Read the full safety model →

Review first, then apply

Split finding from deleting. scan --format json is a plan: trim it, hand it to a person or an agent, and apply it. At deletion time every entry is re-checked, so a stale plan can’t delete the wrong thing.

Clean safely →
plan → review → apply
$ purgeit scan ~/dev --format json > plan.json# remove the entries you want to keep…$ purgeit clean --plan plan.json --yesdeleted    979.6 MB  ~/dev/personal/mocha/node_modulesdeleted    942.9 MB  ~/dev/web/tallo/node_modulesDeleted 2 artifacts, freed 1.9 GB

Free your disk in a minute

$ npx purgeit ~/dev
Read the guide