What it finds

A section that finds nothing says so, and lists what it checked.

Nothing is deleted blind

  1. Let it look

    It scans every section when it opens. The sidebar shows how much each one found, and the disk card under it shows how much space is free.

  2. Read before you tick

    Click a category's header and it tells you three things: what it is, why it's safe to remove, and what happens after cleaning. For Xcode's Derived Data, say: Xcode makes it again on the next build, and that build takes longer than usual.

  3. Check the commands, then clean

    Tick what you want gone. A review window then shows every command that will run, grouped by section, and nothing is deleted until you press Clean. Afterwards it tells you how much free space you actually got back.

The App caches & logs section: two categories marked Safe, App caches and Update leftovers. Their only items, Google's cache and orca-updater, are greyed out with an orange Running label, so neither can be ticked, and the section's Select All and Clean All buttons are greyed out too. The App caches & logs section with both items greyed out and labelled Running, in the app's dark appearance.
Anything running or in use is greyed out and can't be selected.

What keeps it safe

What it never deletes

What it asks for

On first launch, before the first scan, it explains what it uses and why, with a switch for each. The same switches are in Settings โ†’ Permissions:

macOS doesn't let an app change its own permissions, so to take one away completely there's an Open System Settings link next to it. There's no account. The only thing the app sends anywhere is one question to GitHub at launch: is there a newer version? Nothing about you or your Mac goes with it, and you can turn it off in Settings.

Install

Download Disk-Cleaner.dmg, open it and drag Disk Cleaner to Applications. It's signed and notarised, so macOS opens it without warnings. When a new version is out, the app says so in the sidebar; Update downloads it, checks that it's signed by its developer and notarised by Apple, then restarts as the new version. A download that fails the check is never installed.

Or build it from source

Open Terminal and run:

git clone https://github.com/mrWD/disk-cleaner.git
cd disk-cleaner
./scripts/build.sh --install

The script installs whatever the build is missing, builds the app, puts Disk Cleaner in /Applications and opens it. From then on it's an ordinary app in Launchpad, Spotlight and the Dock.

Xcode Command Line Tools

Fyne compiles part of itself from C, so the build needs a C compiler.

macOS opens a window: click Install and wait, the script carries on by itself.

Go

Through Homebrew if you have it. Without Homebrew, the official archive from go.dev goes into ~/sdk, no administrator password needed.

Go 1.21 or newer, if you already have it, is kept.

fyne

The tool that packages the build into a .app.

The first build takes a few minutes. A copy built from source updates from source: Update opens Terminal, pulls the changes and runs the same script, then the new version opens by itself. If the folder you built from has changes of your own, it leaves them alone and shows the commands to run by hand. No git yet? macOS offers to install the Command Line Tools as soon as you run git clone. Accept, then run the three commands again.

A copy built from source is signed ad-hoc, without a developer certificate, so macOS may ask for Downloads access again after each rebuild.

Support Disk Cleaner

It's free and has no ads. If it saved you some space, you can put something in the jar.