Skip to content

Repository files navigation

MacOS Cleaner Logo
MacOS Cleaner

Free, native, privacy-first cleaner and application uninstaller for macOS.
Built with Swift 6 and SwiftUI. Moves files to Trash by default instead of permanently deleting them.

Requirements: macOS 26.0 or later. Apple Silicon only (Intel Macs are not supported).

Download DMG   Official Website

Release macOS 26+ Swift 6 SwiftUI License

✨ Features  •  📸 Screenshots  •  🛠️ Build from Source  •  📖 Documentation


🛡️ Safety and Architecture

Principle Technical Implementation
No Telemetry No background daemons, analytics SDKs, or remote loggers. All scanning runs locally without network access.
Trash-First Files are moved to macOS Trash via trashItem(at:) when supported, preserving native file recovery.
Protected Paths Hardcoded blocklists protect SIP paths, /System, /Library, /usr, ~/.ssh, and user document directories.
Open Core Swift 6 codebase with strict concurrency, actors, and structured task groups. Core engine and heuristics are inspectable.
On-Device AI Checksums, hashes, and FoundationModels file explanations execute strictly on-device.
Native Runtime Built in Swift 6 and SwiftUI with Liquid Glass materials. No Electron or WebKit container overhead.

📸 Screenshots

Dashboard App Uninstaller

Smart Cleanup Process Manager

View high-resolution screenshots


🚀 Quick Download & Install

  1. Direct Download: Grab the latest .dmg from GitHub Releases.
  2. Mount & Drag: Open the .dmg and drag MacOSCleaner.app into /Applications.
  3. First Launch (Gatekeeper): If macOS shows a Gatekeeper warning on locally built/unnotarized apps:
    sudo xattr -r -c /Applications/MacOSCleaner.app

    Note: This removes the quarantine attribute set by macOS. It does not modify app files, system security, or grant persistent permissions.


✨ Features

  • Smart Cleanup: scans 54 categories and 1,770 rules across 251 applications, 66 developer toolchains (Xcode, Docker, Rust target, Go pkg, Python .venv, Node node_modules), local AI models (Ollama, MLX, Hugging Face), and APFS purgeable space.
  • Forensic uninstaller inspects 30 evidence types (Bundle ID, Team ID, Spotlight metadata, Launch Services) to find remnants, with root-level helper removal and rollback snapshots.
  • Duplicate Finder: identifies duplicate files through a 3-stage pipeline (file size matching, 4 KB header checksum, full SHA-256 verification).
  • Disk space analyzer groups directory contents by file type (Videos, Audio, Photos, Documents, Archives) for inspection.
  • Process and Service Manager: monitors live CPU and RAM usage with termination safeguards for critical processes (kernel_task, launchd), plus LaunchAgents and LaunchDaemons toggling.
  • Native system integrations include on-device FoundationModels explanations for unknown caches, Siri and App Intents automation, Liquid Glass keyboard navigation (⌘,, ⌘C, ⌘F, ⌘R), and 10 language localizations.

Complete feature breakdowns and path specifications are documented in the MacOSCleaner Wiki.


🛠️ Build from Source

Prerequisites: macOS 26.0+, Xcode 18+, XcodeGen.

git clone https://github.com/AlexTkDev/MacOSCleaner.git
cd MacOSCleaner/MacOSCleaner
xcodegen
open MacOSCleaner.xcodeproj

Build and run with ⌘R, or run tests with ⌘U.

Note: Public source builds use the public fallback cleanup catalog.


⭐️ Support & Community

Note: Contributions are subject to the project's Contributor License Agreement (CLA).


👨‍💻 Author

AlexTkDev Aleksandr (AlexTkDev)
Follow on GitHub ORCID Ko-fi Donate

Citation reference: CITATION.cff


📄 License

Dual-licensed:

  • GNU GPLv3 + Commons Clause v1.0 for personal, non-commercial use, testing, and open-source contributions. Commercial resale and commercial re-licensing are prohibited.
  • Commercial License for enterprise, commercial, or proprietary distribution. Contact the author for licensing inquiries.

Trademark Notice: The license does not grant permission to use the project name ("MacOSCleaner"), logos, or branding in derivative works.

About

Free, open-source CleanMyMac alternative for macOS. Native SwiftUI cleaner with app uninstaller, disk analyzer, duplicate finder, Xcode/Docker cleanup, Apple Intelligence and zero telemetry.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

63 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Contributors

Languages