Show HN: CLI tool to clean up dependency directories across all your projects
1 points
2 hours ago
| 0 comments
| github.com
| HN
If you work on multiple projects, you've probably noticed directories like node_modules, venv, target, and __pycache__ silently eating up tens of GBs of disk space. dep-clean scans for all dependency/cache directories under a given path and lets you selectively delete them through an interactive checkbox UI.

# Features

- Multi-language support: Auto-detects cache directories for Node.js, Python, Rust, Go, Java, .NET, iOS, and more - Interactive selection: Pick which directories to delete instead of nuking everything - Size display: Shows how much space each directory is using - Safe preview: `--dry-run` option to see what would be deleted

# Usage ## Install `npm install -g @kuneosu/dep-clean`

## Scan current directory and select what to delete `dep-clean`

## Scan specific path `dep-clean ~/projects`

## Only clean node_modules `dep-clean --only node_modules`

No one has commented on this post.