Help · Guides · Pangalin Space Manager

How to run other tools' own clean-up commands.

Developer tools such as Homebrew, Docker and npm keep caches they know how to clear themselves. Janitors lists the tools installed on your Mac and runs each one's own clean-up command when you ask. The tool does the removing, and it's permanent: nothing goes to the Trash.

1. Open Janitors

  1. Click Tools in the sidebar (⌘6) and click the Janitors card.
  2. It opens inside Tools, on the Janitors list: Cleanup commands built into other tools. Each runs that tool's own cleanup.
  3. Each row names the tool and the exact command it runs, with what that command removes.

Pangalin Space Manager first checks which tools are installed and actually run on your Mac, so you only see the ones that work. While it checks, it says Checking which of these tools are installed…. If none are installed, it says None of these tools are installed on this Mac.

Pangalin Space Manager’s Free Up Space page showing Janitors: cleanup commands built into other tools, with a row for each tool found on this Mac, such as Homebrew and npm, each giving the command it runs and what it removes, and a Clean with button.
Janitors, listing the tools found on this Mac. Licence name blurred. Pangalin Space Manager 3.50.0, 15 October 2026.

2. Run one

  1. Click Clean with … on the tool's row, for example Clean with Homebrew.
  2. Read the confirmation. It shows the full command, says it deletes permanently and that the tool does the removing, not Pangalin Space Manager.
  3. Click Clean permanently to run it, or Cancel.
  4. The row says Cleaning… while it runs, then ✓ done, or ✗ with the reason, such as is Docker running?
Pangalin Space Manager’s Clean with Homebrew confirmation: the full brew cleanup command, a warning that it deletes permanently, nothing goes to the Trash and Homebrew does the removing, and Clean permanently and Cancel buttons.
The confirmation shows the exact command before anything runs. Pangalin Space Manager 3.48.1, 14 October 2026.

What each janitor runs

Only the tools found on your Mac are listed. These are the ones Pangalin Space Manager knows:

The confirmation for each row gives the full command, including the folder the tool runs from.

Developer tools, part by part

A janitor clears everything its command covers. When you'd rather pick, Developer tools, part by part, in the same Janitors list, asks Docker, Xcode and Homebrew what they keep and lists each part as its own row. Nothing here is ticked for you.

  1. In Developer tools, part by part, tick the parts you want gone.
  2. Click Remove … (…)… next to the tool's name.
  3. Read the confirmation. It lists the exact commands, such as docker image rm, docker rm, docker builder prune -f, simctl delete or brew cleanup with the formula, and says it's permanent.
  4. Click Remove Permanently, or Cancel.

Each part is removed by its own tool, one at a time, and never with --force. Docker's build cache is measured again just before the prune; if it has grown by more than a tenth since it was listed, nothing is pruned and the row asks you to look again.

Why these don't go to the Trash. Docker, Xcode and Homebrew keep their own records of what they hold. If Pangalin Space Manager moved the files to the Trash itself, those records would point at files that aren't there, and the tool could break. So the tool removes them, and it's permanent: nothing goes to the Trash, and it can't be undone. For the same reason macOS can't tell exactly how much space came back, so like every janitor this needs a licence and isn't counted against your free 5 GB.

Some developer files Pangalin Space Manager can safely move itself, so they go to the Trash like any other clean-up, and they count toward your free 5 GB:

Apart from Xcode device symbols, these are all marked Review and never ticked for you.

Package caches, version by version

If you switched on the online check (Settings › Privacy › Check before removing, with Settings at the bottom of the sidebar), the bun, Yarn and Poetry caches are checked one cached package version at a time. Pangalin Space Manager asks npm (registry.npmjs.org) or PyPI (pypi.org) whether that exact version can still be downloaded. Only the public package name and version are sent.

Leftover AI worktrees

Claude Code and Codex can make a spare copy of a project, a git worktree, for each task, and leave it behind when the task is done. When there are some, a Leftover AI worktrees list appears below the janitors: Spare project copies Claude Code or Codex made for a task. Git removes them.

Like every janitor, removing a worktree needs a licence and is never counted against your free 5 GB.

Docker, OrbStack and Podman: stopped containers

These three also remove every stopped container, and its writable layer goes with it. Anything written inside a stopped container that isn't committed to an image or kept in a named volume is gone. Named volumes aren't touched. The confirmation says this before you run it.

What can't be undone

How it runs

Pangalin Space Manager runs each tool as you, the same as typing the command in Terminal. It never asks for your administrator password for a janitor, and never runs one as administrator. If a tool needs something it can't get that way, the row shows ✗ and why, for example that the tool needs its runtime and you should run it once in Terminal instead.

Why it needs a licence

Another tool's command does its own removing, and macOS can't tell how much space it freed. So janitors, and parts removed under Developer tools, part by part, can't be counted against your free 5 GB, and running one needs a licence ($25 a year). Without one, Pangalin Space Manager says This needs a licence and nothing is changed. Seeing which janitors your Mac has is free. While Preview only is on, no janitor runs.

After a short run, the row may say roughly how much more space is free, marked approximate, not counted. After a long run, such as a Docker prune, it says the tool reports what it removed instead, because other things on your Mac change free space in the meantime.

Xcode simulators that Xcode can no longer use are also offered on System Data (⌘8), with the same iOS Simulators janitor and the same licence rule.

Related guides

Checked against Pangalin Space Manager 3.65.0, 1 December 2026.