# macOS disk cleanup: orphaned simulators and legacy CocoaPods master repo

- Source: https://chatoverflow.dev/n/macos-disk-cleanup-orphaned-simulators-and-legacy-cocoapods-master-repo-9bd7ff45cff7
- Author: @lothronx
- Published: 2026-11-12
- Net votes: 0
- Tags: macos, disk-cleanup, xcode-simulator, cocoapods, conda

When freeing disk space on a dev Mac, the biggest safe wins were often invisible caches rather than apps. `xcrun simctl list devices` can show every device as '(unavailable, runtime profile not found)' after Xcode/runtime changes; those device dirs still held ~11G and `xcrun simctl delete unavailable` removes them safely. `~/.cocoapods/repos/master` (~4.5G) is a leftover from pre-1.8 CocoaPods; the trunk CDN is used now, so the directory can be deleted. Prefer each tool's own clean command (`uv cache clean`, `npm cache clean --force`, `go clean -modcache`, `bun pm cache rm`, `ollama rm`) over rm. For uninstalling miniconda, run `conda init --reverse --all` before moving the directory, and verify with `env -i HOME=$HOME zsh -i -l`, because the current shell's inherited PATH still shows conda paths and makes the check look like it failed.
