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
- Click Tools in the sidebar (⌘6) and click the Janitors card.
- It opens inside Tools, on the Janitors list: Cleanup commands built into other tools. Each runs that tool's own cleanup.
- 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.
2. Run one
- Click Clean with … on the tool's row, for example Clean with Homebrew.
- Read the confirmation. It shows the full command, says it deletes permanently and that the tool does the removing, not Pangalin Space Manager.
- Click Clean permanently to run it, or Cancel.
- The row says Cleaning… while it runs, then ✓ done, or ✗ with the reason, such as is Docker running?
What each janitor runs
Only the tools found on your Mac are listed. These are the ones Pangalin Space Manager knows:
- Homebrew:
brew cleanup --prune=all, old bottles and download caches. - iOS Simulators:
xcrun simctl delete unavailable, simulators for runtimes Xcode no longer has. It needs Xcode, not just the Command Line Tools. - Docker:
docker system prune -f. Docker must be running. - OrbStack:
orb prune -f. Your Linux machines and their contents aren't touched. - Podman:
podman system prune -f. - Gradle daemons:
gradle --stop, which stops background daemons; builds start a fresh one next time. - Conda:
conda clean -a -y, package tarballs and caches. Found in Miniconda, Anaconda or Miniforge. - RubyGems:
gem cleanup, superseded gem versions. - npm, Yarn and bun: clear the package download cache.
- pnpm:
pnpm store prune, packages no project uses any more. - pip, uv and Poetry: clear downloaded Python packages.
- Go:
go clean -cache, the build cache. Go modules:go clean -modcache; projects download what they need again on their next build. - CocoaPods:
pod cache clean --all. Swift Package Manager:swift package purge-cache. .NET NuGet:dotnet nuget locals all --clear. - Composer:
composer clear-cache, downloaded PHP packages. - Deno:
deno clean, downloaded modules and compiled code. - Dart and Flutter:
dart pub cache clean --force, downloaded packages, and tools added withdart pub global activate(add them again the same way). Projects fetch what they need again withflutter pub get. - pre-commit:
pre-commit clean, hook environments, rebuilt the next time the hooks run.
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.
- Docker: each image, each stopped container, and the build cache. Each image says whether Docker can pull it again (“It came from a registry, so Docker can pull it again.”) or may not be able to, because it was built or loaded on this Mac. An image any container uses, running or stopped, is shown but locked, with the reason. Docker volumes are never listed. If Docker isn't running, it says so; open Docker and click Look Again.
- Simulator devices: each device, with its size and when it last started. A device that's running now is locked. Devices whose runtime isn't installed any more are marked. A simulator takes the apps and data installed in it with it.
- Homebrew: each formula with old versions that Homebrew replaced. Homebrew keeps the version you use.
- In Developer tools, part by part, tick the parts you want gone.
- Click Remove … (…)… next to the tool's name.
- Read the confirmation. It lists the exact commands, such as
docker image rm,docker rm,docker builder prune -f,simctl deleteorbrew cleanupwith the formula, and says it's permanent. - 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:
- Xcode device symbols: one row per OS version, for example “iOS device symbols: 18.1”. The newest one for each platform is probably the one your device runs, so it's marked for review. Older ones are Safe; Xcode copies them again if a device on that version is connected.
- Node versions from fnm, Volta, asdf, mise and n: one row per version, marked Review, like the nvm ones. Where the manager names a default version, that one isn't listed. Check which version your projects use first; you can reinstall any of them with the same manager.
- Python, Ruby and Java versions from pyenv, uv, asdf, rbenv, RVM and SDKMAN: one row per version, for example “Python 3.11.9 (pyenv)”. Where the manager names a default version, that one isn't listed. Reinstall any of them with the same manager.
- Unity editors in Unity Hub's folder: one row per editor version. The newest one is marked as the newest, because projects that use it won't open until you reinstall it from Unity Hub.
- Android: each system image (by API level, tag and ABI), each NDK and build-tools version, and each emulator. The newest NDK and build-tools version are marked as the newest, because your builds probably use them. Android Studio's SDK Manager downloads any of them again. An emulator goes with the apps and data installed in it.
- JetBrains caches and logs left by IDE versions that aren't installed any more. A reinstalled IDE builds its caches again.
- Xcode archives: one row per archive, with its date. An archive holds the debug symbols (dSYMs) you need to read crash reports, so keep the ones for versions people still use.
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.
- Each cache then has one Review row. Ticking it moves the versions that were confirmed to the Trash. Any version that couldn't be confirmed stays, and the note says how many.
- If nothing could be confirmed, for example because you're offline, you get the usual row for the whole cache instead.
- npm's own cache, the pnpm store and the SwiftPM cache are shared between packages, so they keep one row for the whole cache.
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.
- Only worktrees where these tools make them are listed: inside a project's
.claude/worktreesfolder, and in~/.codex/worktrees. A project's own main folder is never one of them. - A worktree is offered only when git says nothing in it is changed or untracked, every commit in it is also on a remote or your main branch, and nothing in it has changed for 14 days. If git can't answer, or the folder is too big to check, it's kept.
- The confirmation shows the exact command,
git worktree removeand the folder. Git deletes the folder permanently, and nothing goes to the Trash. The branch and its commits stay in the repository, and git refuses if anything in the folder has changed since it was checked. Pangalin Space Manager never adds--force.
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
- Every janitor deletes permanently, and so does Developer tools, part by part. The tool removes the files itself and doesn't ask again, so nothing goes to the Trash, Edit › Undo can't bring anything back, and there's nothing to restore from History.
- What they remove can be downloaded or rebuilt again, so the cost is time, not data, apart from stopped containers, above. A removed worktree's branch and commits stay in the repository, so you can make it again with
git worktree add.
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.