Where do developer tools keep gigabytes?

Xcode, Docker, package managers, AI models and coding agents, folder by folder.

On a developer’s Mac, the space usually goes to a short list of folders. Each tool rebuilds or downloads most of its data again, so the safest way to clear it is the tool’s own command rather than deleting folders by hand.

Xcode and simulators

Docker and virtual machines

Docker Desktop keeps images, containers and volumes in one virtual disk inside ~/Library/Containers/com.docker.docker. It looks like a single large file. docker system prune removes stopped containers, unused networks and dangling images; add --volumes only if you are sure no volume holds data you need. OrbStack, Colima, Lima and UTM keep their disks in their own folders.

Package managers

AI models

Coding agents

Coding agents keep session histories, caches and sometimes extra working copies of your projects: ~/.claude, ~/.codex, ~/.cursor and the app support folders of their desktop apps. Each session is small, but they add up over months, and worktrees made for parallel tasks can be full copies of a project.

Watching it instead of cleaning it every month

Diskdiary colors the disk map by content type, so build data, simulators, virtual disks and AI models stand out. It finds coding agents’ folders after the first scan and offers them as Favorites, and its history of folder sizes shows what grew since yesterday.

Diskdiary doesn’t delete anything; it shows you where to look.