🧹 Dev Cleaner Utility

Dev Cleaner Utility - Clean Development Caches

Support Latest macOS/Linux Dev Environments

This tool is for educational purposes, focusing on safely removing development-related junk files (Xcode, Flutter, npm, etc.) to free up disk space.

✨ Features

One-Click Cleanup

Clear Xcode, Flutter, Gradle, npm, Homebrew, IDE, and browser caches with a single command.

Comprehensive Flutter Cleanup

Recursively finds and cleans all Flutter projects, removing FVM SDK caches, build artifacts, and platform-specific caches.

Interactive Menu

Allows selection of specific cleanup targets (e.g., Xcode only, Flutter only).

Multi-platform Support

Supports macOS and Linux (shell script).

💻 System Support

Operating System Architecture Supported
macOS Intel, Apple Silicon
Linux x64, ARM64
Windows N/A ❌ (PowerShell script pending)

👀 How to Use

⭐ Auto Run Script

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

🧹 Flutter Cleanup Details

The Flutter cleanup option (Option 4) performs a comprehensive recursive cleanup of all Flutter projects starting from the current directory. It:

💡 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.

Support This Project

You can also buy me a cup of coffee

☕ Buy Me a Coffee ⭐ Star on GitHub

🤩 Contribution

We welcome you to submit Issues and Pull Requests!

Contributors