Xcode & build artifacts
Derived data and developer tool caches.
A clear view of what can go, a plan you can inspect, and boundaries that stay in place when you apply it.

Inspect disposable files across 39 categories where everyday work accumulates. Each category has a tier that decides how it is treated, and what is selected still depends on your scan and your choices.
Derived data and developer tool caches.
Candidates from tools including Homebrew, npm, pip and Docker.
User cache and log locations, reviewed under the same policy.
System cache locations are reported for context; they are not modified.
Select a step to inspect its command. This demonstration never runs it.
A scan measures every category without touching a file.
macos-cleanup scanEach item is checked again right before it is touched: it must still exist, be the planned item, lie inside its category's folders and not be in use.
Out of the box only known app caches are in auto mode. Clean safe asks for confirmation; other regenerable categories start in review.
↗Needs your consent in the session. Never part of an automatic run.
↔Measured and explained. Protected paths are never touched.
×Personal data and credentials have protected paths. Active build-tool caches are skipped when their owner is detected running.
In the default quarantine mode, files the tool moves itself go to a local quarantine with a restore list. Restore a whole run or selected items; every run also writes a report and a journal.
On APFS, a quarantine move frees no space until the held files are purged. Purging is permanent.
macos-cleanup restore latestmacos-cleanup quarantine purge latest --applyVersion 4.0 adds a terminal interface and changes where the tool keeps its files. The cleanup rules and the protected list carry over from the 3.x series.
One command opens seven tabs: Dashboard, Categories, Quarantine, History, Settings, Diagnostics and Help. Plain command-line mode stays available.
Preflight, scan, plan, clean, verify and report. The Dashboard shows progress for each step.
Set each of the 39 categories to auto, review or skip. Out of the box only caches of known apps are auto.
Every category shows whether its removal can be undone, and the confirmation names what is permanent.
Browse restore points, preview a restore and put back a whole run or selected items. Existing files are never overwritten.
Paths, free space, local snapshots, Time Machine age and Full Disk Access status, all without changing anything.
Program, settings, state and quarantine live in separate folders. An upgrade replaces only the program, and migrate copies your 3.x runs over.
Estimated and measured space are reported separately, with the reason they differ.
The interface and the command line share the same settings. Your own rules can only make the tool more careful.
Off by default. A scheduled run touches only the regenerable tier, only through quarantine.
update-self checks the network only when you run it, verifies the checksum and keeps the previous version.
The tool is offline: it uses the network to install, and to check for or fetch an update when you ask.

The cleanup runs locally. Begin with the documentation, then choose your next step.