KOSH

Cleanup

Developer and AI tools

Developer tools keep large caches that they rebuild on demand. This is usually where KOSH finds the most space.

Package and build caches (usually ready to clean)

  • npm cache (~/.npm/_cacache): packages npm downloaded. They download again on the next install.
  • Gradle caches (~/.gradle/caches): dependencies and build outputs. The next build is slower once. Held while a Gradle daemon runs.
  • uv and pip caches: Python packages, the same as uv cache clean or pip cache purge.
  • Homebrew downloads: the same as brew cleanup.
  • Xcode DerivedData: build products. Xcode rebuilds them.
  • Claude, Claude Code and browser-automation caches: cache folders only. Conversations, settings and logins are never touched.

Optional (you choose)

  • npx packages: tools run with npx. Held while a program, such as an MCP server, is using one.
  • Xcode archives and device support: you may need archives to re-submit or debug old builds.
  • Old Claude Code versions: KOSH never offers the version you're using.

Use the owner's own tool (information only)

  • Docker Desktop's disk: see Reclaim Docker space safely.
  • Hugging Face models: stored in a shared, de-duplicated folder. Use hf cache delete to remove a model properly.
  • Android SDK: emulator system images (often several GB), virtual devices and the emulator. KOSH shows what uses what and when each device was last used, and gives Android's own command (sdkmanager --uninstall …, avdmanager delete avd …) with a Copy command button. Only ~/.android/cache can be cleaned directly. Your Android keys (adbkey, debug.keystore) are always protected.

Note: "Waiting for you" usually means the tool is running right now. Quit it and scan again.