Skip to content

Clean Developer Caches on macOS

Nat edited this page Jul 20, 2026 · 1 revision

Clean Developer Caches on macOS

Developer tools can accumulate gigabytes of caches, downloaded packages, build files, and temporary data.

CleanMyMac CLI lets you scan and review developer-tool junk from one command.

Quick cleanup

cleanmymac clean dev

Review the detected items, select what you want to remove, and confirm cleanup.

Supported developer tools

CleanMyMac CLI detects removable data from tools including:

  • Homebrew
  • npm
  • Yarn
  • pnpm
  • pip
  • Poetry
  • uv
  • Cargo
  • Go
  • CocoaPods
  • Docker
  • VS Code
  • JetBrains
  • Maven
  • Gradle
  • Bun
  • Deno
  • mise

Check disk usage first

Not sure what is taking up space?

cleanmymac analyze

Or inspect a specific location:

cleanmymac analyze ~/Library

Clean all categories

To scan developer caches together with system junk, AI-tool junk, and Trash:

cleanmymac clean

Protect a path

Exclude an important folder from future scans:

cleanmymac ignore add ~/Projects/important-project

View protected paths:

cleanmymac ignore list

Install CleanMyMac CLI

brew install --cask macpaw/taps/cleanmymac-cli

Then run:

cleanmymac clean dev

🩷 Built and used daily by the CleanMyMac team on our own Macs.

Related guides

← Back to Guides

Clone this wiki locally