PureMac: The First Free Open‑Source macOS Cleanup Tool
PureMac is a free, MIT‑licensed macOS cleanup utility written in native SwiftUI that avoids telemetry, deletes files via the Trash, and offers transparent scanning and categorisation, positioning itself as a privacy‑focused alternative to subscription‑based tools like CleanMyMac.
Mac storage is often a bottleneck, especially on entry‑level models that ship with a soldered 256 GB SSD. Users typically turn to cleanup utilities, but many of those tools rely on scare tactics, subscription models, and hidden telemetry.
Why macOS cleanup tools are unpopular
macOS accumulates scattered caches and junk—browser caches, Xcode DerivedData, old Homebrew versions, residual app files, system logs—making manual cleanup difficult. Existing tools scan and present alarming messages like “Your Mac is at risk” or “47 GB of junk detected,” then require payment to delete, often sending telemetry data back to their servers.
How PureMac builds trust
Deletes only to the Trash using FileManager.trashItem, allowing recovery.
No telemetry: no statistics, crash reports, or network requests.
No panic‑inducing alerts; it shows neutral data and lets users decide.
Does not overpromise space recovery or performance gains.
Shows real file paths before deletion, with high‑risk system paths hard‑coded to be excluded.
Fully open‑source under MIT; core logic resides in PureMac/Services and PureMac/Logic/Scanning.
How PureMac works
The workflow consists of three steps: scan, classify, delete, all using macOS native APIs without any third‑party engine or network connection.
Scanning traverses common junk locations—system caches, user caches, Xcode DerivedData, Homebrew leftovers, orphaned app files, and logs—listing each item with its size and category via a real‑time progress bar. It relies on macOS path‑query APIs, ensuring transparent results.
Classification aggregates twelve checks into a single “Smart Care” view, displaying remaining disk space and allowing users to tick items for removal. Each entry can be revealed in Finder for manual verification.
Deletion uses the same Trash API as dragging a file manually, guaranteeing recoverability. Because the app holds Full Disk Access, it deliberately avoids irreversible deletions and prioritises safety over speed.
High‑risk system paths are hard‑coded in the source to be excluded, even when users select “Select All.” The exclusion list can be inspected in PureMac/Logic/Scanning.
The interface shows twelve checks, a space gauge, and a neutral layout that avoids red‑alert hype.
During scanning, items are grouped by category and size, with a live progress indicator, avoiding a black‑box “spinning wheel.”
What PureMac can clean
System junk: caches, logs, temporary files.
User caches: per‑app cache directories.
Xcode junk: DerivedData, caches, old iOS device support files.
Homebrew junk: old versions, caches, stale dependencies.
Application leftovers and orphan files.
Full app uninstall with associated files.
For developers, Xcode DerivedData and Homebrew leftovers often occupy several gigabytes, providing the most noticeable space recovery.
Who should use PureMac
Casual users who want a non‑intrusive, ad‑free cleanup tool.
Developers, especially those using Xcode or Homebrew, who need to reclaim multi‑gigabyte storage.
Privacy‑conscious users who reject telemetry.
Students or budget‑limited users who cannot afford subscription tools.
Anyone interested in studying macOS cleanup internals via the open source code.
It is less suitable for users who prefer a one‑click “delete everything” approach, as PureMac requires explicit confirmation for each item.
Comparison with other tools
Price: PureMac (free MIT), CleanMyMac (~$40/yr), Pearcleaner (free with Commons Clause), Mole (CLI free, GUI paid), OnyX (free).
Open source: PureMac (MIT), CleanMyMac (closed), Pearcleaner (source viewable but not OSI‑approved), Mole (partial), OnyX (closed).
Telemetry: PureMac, Pearcleaner, Mole, OnyX have none; CleanMyMac includes telemetry by default.
Subscription model: only CleanMyMac forces a subscription.
Apple notarisation: PureMac, CleanMyMac, Pearcleaner have it.
App uninstall + orphan removal: supported by PureMac, CleanMyMac, Pearcleaner; Mole partially; OnyX not.
Deletion via Trash (recoverable): PureMac (yes), CleanMyMac (partial), Pearcleaner (yes), Mole (partial), OnyX (no).
Honesty about reclaimable space: PureMac is transparent; CleanMyMac tends to exaggerate.
In short, PureMac combines “free, truly open‑source, zero telemetry, recoverable deletion” while sacrificing automatic bulk deletion.
Takeaways for product design
1. Greater permissions demand greater restraint – PureMac uses Full Disk Access but limits itself to safe Trash deletions and a free model.
2. Encode promises in auditable code – the lack of telemetry and the deletion logic are visible in the repository.
3. Avoid fear‑based UI; presenting neutral data empowers users.
4. Target the real storage hogs (Xcode, Homebrew) rather than trivial caches.
Installation
PureMac can be installed via Homebrew Cask: brew install --cask puremac Or by downloading the notarised .dmg from the GitHub Releases page and dragging it into the Applications folder. It requires macOS 13.0 or later.
For users seeking a non‑intrusive, privacy‑first, and auditable macOS cleanup solution, PureMac is currently the most compelling option.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Geek Labs
Daily shares of interesting GitHub open-source projects. AI tools, automation gems, technical tutorials, open-source inspiration.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
