Instantly clean up node_modules, Python venvs, old NVM versions, and more. Safe, interactive, and built for developers.
Smart Cleanup for Devs
Designed to understand your projects, not just delete files blindly.
Finds `node_modules` nested deep within your projects, monorepos, and workspaces.
Select exactly what to delete. Filter by age (e.g., "older than 3 months") or size.
Nothing is permanently deleted. Items are moved to Trash so you can recover mistakes.
Supports Python (venvs), Rust (target), Gradle, Maven, Flutter, and Xcode.
See exactly where your space is going with beautiful, interactive CLI tables.
Track your cleanup sessions and see total space reclaimed over time.
โ ~ dclean --nvm
๐งน D Clean v0.1.0
Scanning global locations...
โ Scan complete!
๐ NVM versions (6)
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโ
โ Version โ Size โ Last Modified โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโค
โ v18.18.2 โ 380.2 MB โ 1 year โ
โ v20.19.2 โ 361.95 MB โ 6 months โ
โ v22.18.0 โ 167.61 MB โ 1 month โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโ
Subtotal: 1.31 GB
? Check what to delete (space=check/uncheck, enter=confirm)
โฏ โฏ โญ Skip โ do not delete anything (exit)
โฏ ๐ NVM versions older than 3 months (2, 742 MB)
โฏ ๐ NVM versions older than 6 months (1, 380 MB)
โฏ โณ ๐ Select specific NVM versions...
_
dclean --init
First run setup. Choose which folders to scan and save to config.
dclean --node-modules
Scan only node_modules across your configured paths.
dclean --nvm
Check for old, unused Node.js versions managed by NVM.
dclean --history
View your cleanup history and total space reclaimed.
See all options with --help