ClearDisk Blog

Guides for freeing disk space on macOS as a developer

Terraform & OpenTofu Cache Cleanup on Mac -- Free 5-20GB of Disk Space

July 2025 -- 10 min read

Terraform provider plugins, .terragrunt-cache directories, and module caches can consume 5-20GB on macOS. Complete guide to enabling plugin cache, cleaning .terraform directories, and managing IaC disk usage.

Terraform OpenTofu Terragrunt Provider Cache IaC

Flutter & Dart Cache Cleanup on Mac -- Free 10-30GB of Disk Space

July 2025 -- 12 min read

Flutter SDK, Dart pub cache, build artifacts, iOS simulators, and Android SDK caches can consume 10-30GB on macOS. Complete guide to auditing and cleaning every Flutter-related cache directory.

Flutter Dart pub cache iOS Simulator Android SDK

Xcode Simulators & DeviceSupport Taking Up 50GB+ on Mac?

July 2025 -- 8 min read

iOS Simulators, DeviceSupport files, CoreSimulator caches, and Archives can consume 20-80GB on macOS. Complete guide to deleting old simulator runtimes, cleaning device support files, and reclaiming massive Xcode disk space.

Xcode iOS Simulator DeviceSupport CoreSimulator Archives

How to Free 50GB+ on Your Mac as a Developer (2025 Guide)

January 2025 -- 10 min read

Comprehensive guide covering 10 major developer cache locations on macOS. Learn exactly where Xcode, Node.js, Docker, Homebrew, pip, CocoaPods, Cargo, and Gradle store their caches and how to safely clean them.

macOS Xcode node_modules Docker Homebrew

Xcode Taking Up Too Much Disk Space? Complete 2025 Cleanup Guide

January 2025 -- 8 min read

Deep-dive into every Xcode-related cache: DerivedData, iOS Device Support, Archives, Simulators, CoreSimulator, Toolchains, and Swift Package Manager. Includes a summary table and a one-liner cleanup script.

Xcode DerivedData iOS Simulators Swift

How to Find and Delete All node_modules on Your Mac (2025 Guide)

January 2025 -- 6 min read

Find every node_modules directory on your Mac, see how much space they use, and safely delete them. Covers selective deletion, npm/yarn/pnpm cache cleanup, tools comparison, and prevention strategies.

node_modules npm yarn pnpm Node.js

Docker Taking Up Too Much Disk Space on Mac? Complete Fix Guide

January 2025 -- 10 min read

Docker Desktop can consume 20-200GB+ on your Mac. Learn how to reclaim space with docker system prune, shrink the Docker.raw file, clean build cache, manage volumes, and automate weekly cleanup.

Docker Docker.raw Build Cache Containers macOS

Homebrew Taking Up Too Much Space? Complete Cleanup Guide

January 2025 -- 8 min read

Homebrew can consume 5-30GB+ on your Mac with old formula versions, cached downloads, and orphaned dependencies. Learn brew cleanup, autoremove, cache management, and automation.

Homebrew brew cleanup Cache Dependencies macOS

Maven .m2 Repository Taking Up Too Much Disk Space on Mac?

July 2025 -- 9 min read

Maven's ~/.m2/repository, sbt caches, Coursier, and Kotlin/Native can silently consume 5-30GB on macOS. Complete guide to auditing and cleaning JVM build tool caches, SNAPSHOTs, Ivy cache, and target/ directories.

Maven sbt ~/.m2 Kotlin JVM

npm, Yarn & pnpm Cache Taking Up Too Much Disk Space on Mac?

July 2025 -- 9 min read

JavaScript package manager caches and node_modules can consume 20-80GB on macOS. Complete guide to auditing and cleaning npm cache, Yarn cache, pnpm store, node_modules, and Node.js version managers.

npm Yarn pnpm node_modules JavaScript

CocoaPods Cache & Pods Taking Up Too Much Disk Space on Mac?

July 2025 -- 8 min read

CocoaPods caches, Pods directories, and spec repos can consume 5-30GB on macOS. Learn how to audit pod cache, clean spec repos, remove stale Pods folders, migrate to Swift Package Manager, and automate CocoaPods disk cleanup.

CocoaPods iOS Pods Swift Package Manager Xcode

Gradle Cache Taking Up Too Much Disk Space on Mac? Complete Cleanup Guide

July 2025 -- 9 min read

Gradle caches, wrapper distributions, and build outputs can consume 10-50GB on macOS. Learn how to audit ~/.gradle, clean daemon data, remove old wrapper versions, and automate Gradle disk cleanup.

Gradle Android ~/.gradle Build Cache Wrapper

Go GOPATH & Module Cache Taking Up Too Much Disk Space on Mac?

July 2025 -- 8 min read

Go module cache, build cache, and old toolchains can silently consume 10-30GB on macOS. Learn how to audit and clean GOMODCACHE, GOCACHE, GOPATH, old SDK versions, vendor directories, and automate Go disk management.

Go GOPATH GOCACHE go clean Module Cache

Rust target/ and Cargo Cache Taking Up Too Much Space? Complete Cleanup Guide

January 2025 -- 8 min read

Rust's target/ directory can reach 5-20GB per project, and the Cargo registry cache adds more. Learn how to audit, clean, and automate Rust disk space management with cargo-sweep, cargo-cache, sccache, and more.

Rust Cargo cargo-sweep target/ sccache

Python & pip Taking Up Too Much Space on Mac? Complete Cleanup Guide

January 2025 -- 9 min read

Python environments, pip cache, conda, virtualenvs, and __pycache__ can consume 10-50GB+. Learn how to audit and clean pip cache, conda environments, pyenv versions, Poetry cache, Jupyter data, and scattered .venv directories.

Python pip conda virtualenv pyenv

ClearDisk vs CleanMyMac vs DaisyDisk -- Best Mac Disk Cleaner (2025)

January 2025 -- 8 min read

Honest comparison of Mac disk cleaners: ClearDisk (free, open-source) vs CleanMyMac X ($40-90/yr) vs DaisyDisk ($10) vs OnyX vs DevCleaner. Features, pricing, developer focus, and when to use each.

Comparison CleanMyMac DaisyDisk OnyX Free

Skip the Terminal Commands

ClearDisk detects and cleans all these caches automatically. Free, open-source macOS menu bar app.

Get ClearDisk