I kept running out of disk space every few months. The fix was always the same: delete old node_modules, docker system prune, brew cleanup, clear pip cache. Seven different commands I had to look up every time.
devclean scans your entire dev environment and shows you what's
reclaimable:
npm i -g devclean-cli
devclean scan
It found 12GB on my machine — 23 forgotten node_modules, Cargo targets,
brew cache, Xcode DerivedData.
Features:
- Scans: node_modules, Docker, Homebrew, pip, Cargo, Xcode, npm/yarn caches
- devclean scan is read-only (never deletes without you asking)
- --dry-run to preview, --older-than 30 to protect active projects
- Selective cleaning with --node-modules, --docker, etc.
GitHub: https://github.com/arikmozh/devclean