Free, open-source macOS cleaner. CleanMyMac alternative with zero telemetry. Native SwiftUI, scheduled auto-cleaning, Xcode/Homebrew/system cache cleanup. MIT licensed.
Swift cache-cleanercleanmymaccleanupdisk-cleanerdisk-spacehomebrewmac-utilitymacosmacos-appmacos-cleanermacosxnativeossosxprivacyswiftswiftuisystem-cleanerxcode-cleaner
cask "puremac" do
version "3.2.0"
sha256 "5ba35fde0b60a645d61edacc8a8b8f198625ea91ac3750c60d41efe22a240a50"
url "https://github.com/momenbasel/PureMac/releases/download/v#{version}/PureMac-#{version}.zip"
name "PureMac"
desc "Free, open-source macOS app manager and system cleaner"
homepage "https://github.com/momenbasel/PureMac"
depends_on macos: :ventura
app "PureMac.app"
# Refresh LaunchServices so the Dock/Launchpad icon updates immediately on
# (re)install instead of showing a stale cached icon (issue #111).
postflight_steps do
run "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister",
args: ["-f", "{{appdir}}/PureMac.app"]
end
zap trash: [
"~/Library/Preferences/com.puremac.app.plist",
"~/Library/Caches/com.puremac.app",
"~/Library/LaunchAgents/com.puremac.scheduler.plist",
]
end