A good Mac deserves room to breathe.
No background daemon. No opaque decisions. Just a readable workflow that puts you between a file and its removal.
Feels like 1984?
Time for a fresh start.
The old computer is a feeling: years of caches, logs and build artifacts piling up. Give your current Mac a deliberate cleanup. Explore 1984, then come back to today.
THE BEGINNING OF A FEELING
THE FREEDOM TO DECIDE
A visual time machine. The CLI requires macOS 10.15+; it does not run on vintage Macs.
Know what goes.
Before it goes.
Three steps. A readable trail. You stay at the keyboard.
Look around.
Start with a read-only scan. See the candidates before choosing your next move.
bash cleanup_all.sh --dry-run↳An explicit dry run does not delete files.
Make a plan.
Write a JSON plan with paths, risk levels and estimated bytes. Open it. Read it. Decide.
bash cleanup_all.sh plan --plan-file plan.json↳A reviewable file, before any application.
Make your move.
Apply the reviewed plan. SAFE operations run by default; REVIEW needs opt-in. DANGEROUS operations stay blocked.
bash cleanup_all.sh apply --from-plan plan.json↳User-scope removals use quarantine by default.
Room to reconsider.
Quarantine holds moved files locally. Restore from the latest manifest when you need to retrace your steps.
bash cleanup_all.sh --restore latestOn APFS, quarantine moves free 0 bytes until you explicitly purge the held files. Purging is permanent.
A cleaner Mac. Step by step.
First, analyze. Then plan. Apply changes on your terms.
Illustrative command sequence — nothing runs in your browser.
ANALYZE: bash cleanup_all.sh --dry-run. Read-only analysis. No deletion.
PLAN: bash cleanup_all.sh plan --plan-file plan.json. Write a reviewable JSON plan.
APPLY: bash cleanup_all.sh apply --from-plan plan.json. Apply SAFE operations from the reviewed plan.
LOOK FIRST. CLEAN SECOND.
Make room. Stay in control.
These are examples from the v3.0.7 policy. The actual plan, path and safety checks determine what can run on your Mac.
Known app caches
Selected Xcode, Slack and VS Code cache paths are classified SAFE. Eligible items can be included by default, subject to the plan and safeguards.
Caches and logs to review
Generic user and browser caches, npm, pip and Homebrew caches, Xcode DerivedData and older user logs are examples marked REVIEW by policy. Actual paths and risks are resolved in the plan; applying REVIEW operations requires explicit opt-in and confirmation.
Outside the cleanup
System caches are report-only. Protected personal data, mail and credentials are blocked from automatic removal.
Quarantine moves do not free space on APFS until purged. Native tool commands can remove data without quarantine rollback; review the plan before applying it.
Not all clutter is equal.
Ready for the plan.
Policy-approved candidates. Applied by default from a reviewed plan.
Worth a closer look.
An explicit opt-in is required. Your context matters.
Outside the boundary.
Protected operations are blocked. They are never applied.
Made for the Mac you build on.
Official support: Apple Silicon. The CLI requires macOS 10.15+, Bash 3.2+, and Python 3.10+ for plan validation and auxiliary tooling.
The same Mac.
A new beginning.
A clearer workspace starts with a plan you understand. Review the candidates, decide what goes, and keep control of every step.
For the Mac you work on.
Officially supported: Apple Silicon. CLI requires macOS 10.15+.
Explore features
A fresh start.
One command away.
Install the CLI, then begin with a dry run. Read the installer and documentation before executing commands on your Mac.
Illustrated sequence; not reading your disk.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/KasprowiczM/macOS_cleanup/main/install.sh)"The installer downloads the project. Cleanup runs offline.
Less noise. More possibility.

Buy me a beer.
macOS Cleanup is free, open-source software maintained with care. If it has been useful to you, you can make a one-time contribution toward the time and work behind it.
Support- ANALYZE: bash cleanup_all.sh --dry-run
- PLAN: bash cleanup_all.sh plan --plan-file plan.json
- APPLY: bash cleanup_all.sh apply --from-plan plan.json
- OK



