mac-cleanup-py

Free Apache-2.0 macOS cleanup CLI; the Python rewrite of the deprecated mac-cleanup-sh bash script (2015), maintained under the mac-cleanup org by lead dev efa2d19. ~45 toggleable modules empty trash and clear caches/logs for browsers (Chrome/Chromium/Arc), dev tools (Xcode derived data, iOS simulators, npm/yarn/pip/gem/go/gradle/CocoaPods/Docker, JetBrains IDEs), and apps (Steam, Telegram, Obsidian); dry-run sizing, per-module confirmation prompts, SIP-aware path denylist; sudo only for the DNS-flush and inactive-memory-purge modules. Ships via homebrew-core formula (since Aug 2025) and PyPI; ~2.4k stars.

Also known as: mac-cleanup, mac_cleanup

Last reviewed

Quick facts

Platforms
Interface
Tech stack
Python 3.11-3.15 (rich console UI, attrs, inquirer prompts, xattr for SIP checks); Poetry-packaged; distributed as PyPI sdist/wheel and a homebrew-core formula that bottle-builds from the PyPI sdist
Features
Dev-junk cleaning
Its primary focus
Development
Lead developer + community · original author still leads
efa2d19 authored the repo's first commits and has ~347 of ~360 human commits; fwartner (Florian Wartner, the original mac-cleanup-sh author) owns the org but has 1 commit here. Community contributes modules and CI fixes by PR.
License
Apache
Apache-2.0 (GitHub API / LICENSE)
Price
Free
Free; README acknowledges the JetBrains OSS Development Program for tooling
Launched
repo_created_at
Repo created
GitHub stars
2,371 (as of 2026-11-28)
First release
Last seen alive

Checks

Each row reports one fact. "Not yet checked" means we don't have a result. There is no overall score.

Track recordabout 4 years
Source publishedYes
Release signingUnsigned
Security contactYes
Reproducible buildsNot yet checked
TelemetryNone
Runs elevatedOnly when needed
Auto-update channelNone
Last confirmed aliveLast seen 26 days ago
What the checks mean
Track record
Time in the wild is a rough proxy for exercised code paths and noticed bugs. New means unproven, not bad.
Source published
Public source lets anyone audit the code instead of trusting the marketing.
Release signing
A signature ties the binary to a publisher identity and lets the OS detect tampering after release.
Security contact
A published way to report vulnerabilities means the developer takes security seriously and has a process for addressing problems.
Reproducible builds
Anyone can verify the shipped binary came from the published source. Rare in most software, so a "no" is neutral, not a failure.
Telemetry
Telemetry serves legitimate purposes. It helps developers find bugs, slowdowns, confusing features, and unused functions, and it helps them prioritize improving what users actually use. What matters is consent (opt-in vs. opt-out), what is collected, and whether it is disclosed.
Runs elevated
A cleaner sometimes needs admin rights to reach system files. Always-on elevation widens what a bug or a compromise can reach.
Auto-update channel
Updates keep rules current and ship fixes; an unsigned channel is itself an attack path.
Last confirmed alive
When we last confirmed the app was still available. Entries are not re-checked daily, so an older date can mean a quiet app or just a stale check. If nothing recent is recorded here, the app's own website or repository is the better source for its current state.

Relations

Research notes

Sources

URLRoleStatusCheckedArchive
github.com/mac-cleanup/mac-cleanup-pyrepo200
formulae.brew.sh/formula/mac-cleanup-pystore_listing200
pypi.org/project/mac-cleanup/other200

Established alternatives

Related tools

Wrong, stale, or missing something? Flag this listing: corrections reach the site operator, not mac-cleanup-py's developer.