Skip to content

Latest commit

 

History

90 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MangoDisk application icon MangoDisk

Disk cleanup, storage analysis, and system optimization for macOS and Windows

English · 简体中文 · 繁體中文 · 日本語

Latest release macOS supported Windows supported Tauri 2 Rust Core

MangoDisk disk cleanup, storage analysis, and system optimization

What MangoDisk Can Do

Storage

1. Deep Cleanup

Find cleanable content scattered across the system, applications, developer tools, and local projects in one scan. MangoDisk saves you from checking each location manually and groups the results by reclaimable space:

  • System and user caches: Clean system temporary files, diagnostic data, and rebuildable caches stored in user directories.
  • Application caches: Clean caches, logs, update packages, and temporary content created by commonly used applications.
  • Browser data: Clean caches and temporary web data created by Chrome, Edge, Firefox, Brave, Arc, Opera, and other browsers.
  • Developer tools and Xcode: Clean package manager downloads, IDE indexes, compiler caches, and device support, archives, and development data generated by Xcode.
  • Container caches: Clean unused build caches and rebuildable temporary data created by Docker and other container tools.
  • Project build artifacts: Find rebuildable dependencies, caches, and build directories in Node.js, Rust, Gradle, Swift, Python, .NET, Godot, CMake, and other projects.
  • AI models and caches: Find local AI models, download caches, and temporary transfer files to identify model data that consumes significant storage.
  • Application optimization: Remove processor code the current device does not need from supported applications, reducing storage use without affecting normal operation.

Scanning only reads file information and never deletes anything automatically. Use smart recommendations or review items individually, then check the estimated reclaimable space before cleaning.

2. Large File Cleanup

Quickly identify the files taking up the most space without digging through folders one by one. Filter by type and size, then review each file and its location before cleaning.

3. Duplicate File Cleanup

Find exact duplicates by content instead of relying on file names. Smart selection keeps at least one file in every group, making it easier to reclaim space without removing every copy.

4. Disk Space Analysis

See where your storage is going at a glance. Drill down through a treemap and list to locate the largest folders and files instead of cleaning blindly.

System Tools

5. Application Uninstall and Cleanup

Uninstall applications together with related caches, settings, and leftover files to reclaim more space. MangoDisk separates rebuildable content from data that may include personal files, and warns you when an application is running or protected by the system.

6. Startup Item Management

Disable unnecessary startup programs to reduce startup or sign-in delays and background resource usage. Turn them back on at any time when you need them again.

7. System Optimization

Optimize settings that affect performance, privacy, and everyday usability in one place. Reduce unnecessary background activity and distractions so your computer feels faster and easier to use.

  • One-click optimization: Choose a smart recommendation or a performance- or privacy-focused preset to match your needs quickly.
  • Fine-grained control: Turn every setting on or off individually and review all pending changes before applying them.
  • Clear guidance: High-impact changes and settings that require administrator access, signing in again, or a restart are identified in advance.
  • Thorough validation: Every applicable optimization has been tested on real Windows 10, Windows 11, macOS 12.5, macOS 15.7, and macOS 26 systems.

Activity

8. Operation History

See what each cleanup or system change did and how it turned out, making it easy to verify changes and investigate failed items.

Safety and Rules

Important

MangoDisk puts data safety ahead of reclaiming more space. Cleanup rules and system optimizations only ship after their safety boundaries are clearly defined and they pass validation on real systems.

MangoDisk scans in read-only mode by default. Before cleanup, deletion, uninstall, or system setting changes begin, you can review and confirm exactly what will happen. Results are saved to Operation History.

System Optimization only uses built-in, validated settings. It never accepts arbitrary registry paths, terminal commands, or scripts. MangoDisk reads each setting again after changing it and calls out high-impact items and changes that require administrator access or a restart.

MangoDisk maintains its own cleanup rules. Third-party projects may provide research leads, but a candidate rule is only accepted after reliable sources, safe boundaries, and real-system behavior have been verified. Anything without a clear safety boundary is excluded.

The complete rule library and revision history are open for inspection: view the MangoDisk cleanup rule library.

Screenshots

Deep Cleanup
Find cleanable content across the system, applications, developer tools, and projects to reclaim more space

MangoDisk Deep Cleanup interface

Large File Cleanup
Find the files taking up the most space without digging through folders

MangoDisk Large File Cleanup interface
Duplicate File Cleanup
Safely remove exact duplicates while keeping at least one copy

MangoDisk Duplicate File Cleanup interface
Disk Space Analysis
See where your storage is going and quickly find the largest files and folders

MangoDisk Disk Space Analysis interface
Startup Item Management
Reduce unnecessary startup programs for faster sign-in and less background activity

MangoDisk Startup Item Management interface
Application Uninstall and Cleanup
Uninstall applications and remove related leftovers to reclaim more space

MangoDisk Application Uninstaller interface
System Optimization
Optimize performance, privacy, and everyday usability in one click

MangoDisk System Optimization interface

Install and Run

MangoDisk currently supports:

  • macOS: macOS Monterey 12.5 or later.
  • Windows: 64-bit Windows 10 or later.

Install MangoDisk on macOS with Homebrew:

brew install --cask harry0703/tap/mangodisk

Install MangoDisk on Windows from PowerShell:

irm "https://get.mangodisk.app" | iex

Alternatively, download the latest version from the MangoDisk website or GitHub Releases:

  • macOS: Open the DMG and drag MangoDisk into the Applications folder.
  • Windows: Run the Windows installer and follow the prompts.

Caution

  1. Cleanup, permanent deletion, and uninstall operations may not be reversible. Review the selected content and keep reliable backups of important data.
  2. Before changing a startup item or system setting, make sure you understand what it controls.
  3. Some system optimizations can affect security, privacy, battery life, or update behavior.

CLI Quick Start

Install the standalone CLI on macOS with Homebrew:

brew install harry0703/tap/mangodisk-cli

On Windows, install the latest CLI from PowerShell:

irm "https://get.mangodisk.app/cli" | iex

If mangodisk is not immediately available after installation, open a new terminal, then verify the installation:

mangodisk --version

The CLI uses the same safety-first cleanup engine as the desktop application. Use commands such as:

# Scan and show cleanable content without changing anything
mangodisk clean

# Apply the same smart recommendations as the desktop application
mangodisk clean --apply

# Preview all selectable content without deleting anything
mangodisk clean --apply --selection all --dry-run

# Produce machine-readable JSON output
mangodisk clean --format json --no-progress

mangodisk clean only scans and never modifies files by default. To perform cleanup in a non-interactive environment, you must also pass --yes to confirm explicitly. Run the following command for all available options:

mangodisk clean --help

Build from Source

Prerequisites

  • Node.js 24 LTS
  • pnpm 11.13.1
  • Stable Rust
  • macOS: Xcode Command Line Tools
  • Windows: Visual Studio 2022 Build Tools with Desktop development with C++
  • Windows: Microsoft Edge WebView2 Runtime

See the Tauri 2 prerequisites for detailed platform requirements.

Get the Source and Run the Desktop Application

git clone https://github.com/harry0703/MangoDisk.git
cd MangoDisk
pnpm install --frozen-lockfile
pnpm tauri:dev

Run the Required Checks

pnpm check
cargo test --manifest-path src-tauri/Cargo.toml -p mangodisk-core

Build the Desktop Installer

pnpm tauri:build

Build the CLI

pnpm cli:build

Local builds do not include the signing, notarization, or update metadata provided by official MangoDisk releases. Use them for local development and validation only.

Contributing

Issues, cleanup rules, fixes, and new features are welcome. Read CONTRIBUTING.md and AGENTS.md before getting started.

Routine cleanup coverage should use build-validated, declarative TOML rules. See src-tauri/crates/mangodisk-core/rules/README.md for the rule schema, safety constraints, and validation instructions.

Before submitting changes, run at least:

pnpm check
cargo test --manifest-path src-tauri/Cargo.toml -p mangodisk-core

Report security vulnerabilities privately through GitHub Security Advisories as described in SECURITY.md. Do not open a public issue for a security vulnerability.

Technology Stack

  • Tauri 2: Desktop runtime and system integration
  • Rust: Scanning, filesystem access, safety validation, and cleanup execution
  • Vue 3 and TypeScript: Desktop user interface

License

MangoDisk is open source under the GNU General Public License v3.0. Third-party components remain subject to their respective licenses.

About

Safety-first disk cleaner and disk space analyzer for macOS and Windows, with duplicate file finder, large file cleanup, app uninstaller, and startup manager

Topics

Resources

Contributing

Security policy

Stars

1.7k stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages