Skip to content
github-actions[bot] edited this page Oct 9, 2026 · 7 revisions

dev-prune (devp)

dev-prune — gigabytes back, nothing you can't rebuild

Universal, lockfile-safe workspace pruner. Reclaims disk space from idle Git repositories by deleting dependency and build directories a lockfile can rebuild — node_modules, .venv, target, vendor and whatever else its thirty-six supported package managers own — and refuses to delete anything it cannot prove is recoverable.

This wiki is a map, not a mirror. The documentation lives in the repository — versioned with the code it describes — and on the website. Every link below points at the authoritative copy, so nothing here can drift out of date.

Start here

I want to… Go to
Install it devprune.vkrishna04.me — one-liners for every platform
See every command and flag CLI Command Reference (also built in: devp <command> --help)
Know why it's safe Safety Invariants — the seven rules with no bypass flag
Fix something Troubleshooting hub
Understand the architecture Architecture entry point → HLD / LLD
Add a package manager Adding Adapters
Teach my AI assistant Run devp skill — or read SKILL.md
Everything else Documentation hub — the full index

The 30-second version

devp init ~/Code        # register every Git repository under ~/Code
devp status             # what could be reclaimed, per repository
devp run --dry-run      # what a prune would do, and why the rest is skipped
devp run                # do it (asks first)
devp restore --last-run # the undo

dev-prune and devp are the same binary. Exit codes are a contract: 0 success, 1 failure, 2 usage error.