Posted inApps / Open Source

PureMac: A Free and Open Source CleanMyMac Alternative

PureMac editorial illustration featuring a retro Macintosh with the FSM logo and macOS cleaning features

Deleting an app from your Mac doesn’t necessarily delete all the files associated with it. And if you use Xcode, Docker or a bunch of package managers, some of the space on your SSD might be taken up by files you wouldn’t normally see in Finder.

PureMac is a free and open source alternative to CleanMyMac. Written in Swift, it brings a system cleaner, an app uninstaller, a disk usage browser and a bunch of other useful tools into a single macOS app. No account, trial or subscription.

Cleaning up your Mac

Open up PureMac and click on Scan this Mac. The scan itself doesn’t delete anything. You’ll get a breakdown of the files it found, with options to browse by category, search for a particular file or path, and filter by size or age.

Affiliate promotion. FSMdotCOM may earn a commission.

AdGuard Black Friday 2026: 50% off annual plans and 45% off all plans.

Aside from system and user caches, PureMac can find logs, downloaded Mail attachments, Xcode build files, Homebrew downloads, caches created by npm, pip and other developer tools, as well as certain files associated with Ollama and LM Studio. Large & Old Files looks in your Downloads, Documents and Desktop folders. These files aren’t selected by default, and Mail attachments need to be selected individually.

Before you start deleting stuff, remember that cache files are there for a reason. Delete a cache and the app might have to download or recreate it the next time you use it. If a log file is unusually large, you might want to investigate why rather than simply delete it. And just because a file is old doesn’t mean you don’t need it anymore.

Some scan results are selected by default. Filtering the list doesn’t deselect the files you can no longer see, so click Review selected and go through the entire selection. You can also exclude a path from future cleanups.

Uninstall apps and find leftover files

The Uninstaller finds files associated with an app using information such as its bundle identifier, name and container metadata. You can adjust how aggressively PureMac looks for related files (Strict, Enhanced or Deep). The more aggressive the search, the more important it is to review the results. A matching name is not proof that a file belongs exclusively to that app. Apple system apps are excluded from the Uninstaller.

There’s also a Leftovers tool for apps you’ve already deleted. In version 3.4.0, its removal policy is limited to locations such as caches and logs. Old app containers and preferences are excluded from this tool’s removal policy.

If you’re particularly interested in what apps leave behind and why certain files are associated with them, also check out Peel. It goes into more detail about why a file matches an application and whether it may be shared with other apps.

Does PureMac move files to the Trash?

Not everything goes to the Trash. Regular app uninstalls, leftover removal, exact duplicate removal and the removal of selected local iPhone and iPad backups use the Trash. If PureMac can’t move certain app files or leftovers to the Trash because of permissions, it can offer to permanently delete eligible files after a separate review and administrator authorization. Ordinary cache cleanup, manually selected large files, emptying the Trash and removing local Time Machine snapshots can permanently delete data. Some developer cleanup operations also invoke tools such as Docker and Xcode’s simulator utility to remove data permanently.

Version 3.4.0 adds a cleanup receipt showing what was removed, moved to Trash, skipped or couldn’t be removed. You can save the receipt as a text file and use Put Back on eligible Trash items. PureMac won’t overwrite a file occupying the original location. This is not a universal Undo button.

The source includes checks for symbolic links, changed file identities, exclusions and protected locations. The project has introduced safeguards following earlier reports of unintended deletion through symbolic links and a related race condition. However, version 3.4.0 still uses the original file URL for ordinary deletion after checking the resolved path, rather than deleting through the resolved URL as described in the earlier fix. There is still a window in which the path could change between the checks and deletion, potentially affecting files outside the intended location. The project’s documentation acknowledges that this race has not been eliminated. Keep backups of important files and leave scheduled automatic cleanup off if you want to review everything before it’s removed.

Space Explorer and Duplicate Finder

If all you want to know is which folder is eating up your SSD, use Space Explorer instead of running a cleanup scan. Choose a folder and drill down into its subfolders. The tool measures allocated disk space, although the amount you’d actually recover by deleting a file can differ. PureMac also shows purgeable space separately rather than counting it as junk.

PureMac Space Explorer showing allocated disk space for sample folders

From Space Explorer you can start a duplicate search in the folder you’re browsing. Duplicate Finder compares file sizes and SHA256 content hashes rather than relying on filenames. You can choose which copy to keep and which copies to move to the Trash. The app checks both the selected copies and the one you’re keeping again before moving them. You won’t actually free up that space until the Trash is emptied (and even then, the amount can vary).

PureMac Duplicate Finder showing three identical files with one protected copy

Similar Photos, on the other hand, lets you compare images that look alike and locate them in Finder. It doesn’t delete them for you.

What else can PureMac do?

PureMac can show CPU and memory usage, list startup and background items, and check for updates to apps installed through Homebrew. It also checks things like FileVault, Gatekeeper, the firewall and System Integrity Protection. Unlike CleanMyMac, it doesn’t include a malware scanner. The Apple Features section provides shortcuts and instructions for changing settings such as Apple Intelligence and Siri, rather than modifying those settings itself.

You can start scanning without Full Disk Access, but the app needs it to inspect protected locations such as Mail downloads and app containers. PureMac isn’t sandboxed, so think carefully before granting that access. Some removals require separate administrator authorization for permanent deletion. According to its privacy policy, PureMac doesn’t collect usage analytics or upload your scanned files. Local scans and cleanup work offline, while update checks and Homebrew updates require a network connection.

If you prefer the Terminal, check out Mole or PureMac’s separate command line tool. Use its dry run option to see what would be removed without deleting anything. Actual cleanup with the command line tool permanently deletes files rather than moving them to the Trash. For system maintenance and hidden macOS settings, there’s OnyX. And if you just need to make some room for a download, start with System Settings > General > Storage. You don’t necessarily need another app.

Download PureMac

PureMac is released under the MIT license and requires macOS 13 Ventura or later. It’s available for both Intel and Apple Silicon Macs. You can download the DMG from the official releases page or install it using Homebrew:

brew install --cask puremac

Check the installed version if you use Homebrew. The cleanup review and receipt features described here are based on the 3.4.0 release.

Support FSMdotCOM on Liberapay