This tool is for educational purposes, focusing on safely removing development-related junk files (Xcode, Flutter, npm, etc.) to free up disk space.
Clear Xcode, Flutter, Gradle, npm, Homebrew, IDE, and browser caches with a single command.
Recursively finds and cleans all Flutter projects, removing FVM SDK caches, build artifacts, and platform-specific caches.
Allows selection of specific cleanup targets (e.g., Xcode only, Flutter only).
Supports macOS and Linux (shell script).
| Operating System | Architecture | Supported |
|---|---|---|
| macOS | Intel, Apple Silicon | ✅ |
| Linux | x64, ARM64 | ✅ |
| Windows | N/A | ❌ (PowerShell script pending) |
Linux/macOS
To download, grant permission, and run the utility in one line:
curl -fsSL https://raw.githubusercontent.com/jemishavasoya/dev-cleaner/main/dev-cleaner.sh -o dev-cleanup.sh && chmod +x dev-cleanup.sh && ./dev-cleanup.sh
The Flutter cleanup option (Option 4) performs a comprehensive recursive cleanup of all Flutter projects starting from the current directory. It:
pubspec.yaml filesbuild/, .dart_tool/, .packages, pubspec.lock💡 Pro Tip: If you have active projects you work on daily, consider running the cleanup from a specific subdirectory (e.g., ~/old_projects or ~/research) rather than your entire development folder. This avoids unnecessary rebuilds of dependencies for active projects.
Expected Space Savings: Users have reported freeing up 50-100GB+ of disk space after running Flutter cleanup on multiple projects.