What is this folder on my Mac?
What common Mac folders are, how big they get, and whether they are safe to delete.
- Why is WhatsApp taking up so much space on my Mac?WhatsApp for Mac keeps every photo, video and voice note in a hidden Group Container. Here is where it is, how big it gets, and how to trim it safely.
- What is Claude's vm_bundles folder on a Mac, and can I delete it?The Claude desktop app keeps a Linux virtual machine in Application Support/Claude/vm_bundles. On our Mac it was 12 GB. Here is what is inside and what we know.
- Why is Cursor's state.vscdb so big on my Mac?Cursor's state.vscdb can pass 7 GB. It is a SQLite file holding your AI chat and agent history. Here is what fills it and how to trim it without losing settings.
- What is ~/.claude/projects, and is it safe to delete?Claude Code saves a transcript of every session in ~/.claude/projects. On our Mac it was 4.4 GB across 52 projects. Here is how to trim it and set a limit.
- What is ~/.codex on a Mac, and what can I delete?OpenAI's Codex keeps session files, a history database and generated images in ~/.codex. On our Mac it was 5.7 GB. Here is what each part is and what you can trim.
- What is Xcode DerivedData, and is it safe to delete?Xcode DerivedData holds build products, indexes and logs for every project you open. It is safe to delete, and Xcode rebuilds it. How to clear it and cap it.
- What is ~/Library/Caches on a Mac, and is it safe to delete?~/Library/Caches holds temporary files apps keep to load faster. Most rebuild on their own. Here is what is inside, what to leave, and how to clear it.
- What is the iOS DeviceSupport folder, and can you delete it?Xcode copies debug symbols from every iPhone or iPad you connect into iOS DeviceSupport. Old iOS versions can be deleted safely and come back when you plug in.
- What is ~/Library/Application Support, and can I delete it?~/Library/Application Support holds app data, including things you made. It is not a cache. Learn what is inside and how to check before deleting anything.
- What is CoreSimulator Devices, and how do you shrink it safely?CoreSimulator Devices holds every iOS simulator you made, with its apps and data. Delete only unavailable ones with xcrun simctl; shut the simulator down first.
- What is ~/Library/Containers, and is it safe to delete?~/Library/Containers holds the private data of sandboxed apps, including Mail and Docker. It is app data, not a cache. Here is how to look before you delete.
- What are Xcode Archives, and should you delete them?Xcode Archives keep the exact builds you shipped, with the dSYM symbols needed to read crash reports. Keep recent releases; delete archives of versions nobody uses.
- What is ~/Library/Group Containers, and can I delete it?~/Library/Group Containers holds data that several apps from one developer share. Deleting it can break those apps. Here is what it holds and how to check it.
- What is the Xcode Previews folder, and is it safe to delete?The Xcode UserData Previews folder holds simulator copies Xcode makes to run SwiftUI previews. It is safe to delete with Xcode closed and rebuilds when needed.
- What is ~/Library/Logs on a Mac, and is it safe to delete?~/Library/Logs and /Library/Logs hold records apps and macOS write about what they did. Old logs are safe to delete. Here is what to remove and what to leave.
- What is /private/var/folders on a Mac, and should I delete it?/private/var/folders is macOS scratch space for temporary files and caches. Do not delete it by hand. Here is what it is and how a restart clears it safely.
- What is org.swift.swiftpm, and is it safe to delete?org.swift.swiftpm in Library/Caches holds Swift package downloads and repository clones. Safe to clear with swift package purge-cache; packages re-download.
- What is mediaanalysisd on a Mac, and why is it using space?com.apple.mediaanalysisd is the container for macOS photo and video analysis. Learn what it does, why it can grow, and how to handle it without losing photos.
- What is the CocoaPods cache, and is it safe to delete?The CocoaPods cache in Library/Caches holds downloaded pod sources and specs. It is safe to clear with pod cache clean --all and re-downloads on the next install.
- What is Photos Library.photoslibrary, and can I delete it?Photos Library.photoslibrary holds every photo and video in the Photos app. Never delete it from Finder. Here is how to shrink it safely instead.
- What is ~/.gradle/caches, and is it safe to delete?~/.gradle/caches holds downloaded libraries, build outputs and transforms for Android and Java builds. Safe to clear after stopping Gradle; it re-downloads.
- What is ~/.android/avd, and can you delete it?~/.android/avd holds your Android emulators, each with its own disk and app data. Look first, then delete unused ones in Device Manager, not by hand.
- What is ~/Library/Messages/Attachments, and can I delete it?~/Library/Messages/Attachments holds photos, videos and files from your chats. It is your data. Learn how to clear it safely from inside Messages.
- What are Mail Downloads and ~/Library/Mail, and can I delete them?Mail Downloads holds copies of attachments you opened, and ~/Library/Mail holds your messages. Learn which is safe to clear and which you should keep.
- What is the ~/.npm folder, and is it safe to delete?~/.npm holds npm's download cache and npx packages. It is safe to clear with npm cache clean --force; packages download again when you next install.
- What is the MobileSync Backup folder, and can I delete it?The MobileSync Backup folder holds iPhone and iPad backups made in Finder. Delete one and it is gone for good. See how to review and remove old backups safely.
- What is the Yarn cache folder, and is it safe to delete?The Yarn cache in ~/Library/Caches/Yarn holds downloaded package archives. It is safe to clear with yarn cache clean, and packages download again on install.
- What is the pnpm store, and is it safe to delete?The pnpm store holds one copy of every package your projects use, linked into node_modules. Prune it with pnpm store prune; do not delete it by hand.
- What is ~/Library/Mobile Documents, and can I delete it?~/Library/Mobile Documents holds your iCloud Drive files on the Mac. Deleting here deletes them from iCloud everywhere. Learn how to free space safely.
- What is /private/var/vm/sleepimage, and can I delete it?/private/var/vm/sleepimage and the swapfiles are managed by macOS for sleep and memory. Do not delete them by hand. Learn how to shrink them safely.
- What is node_modules, and is it safe to delete?node_modules holds the packages a JavaScript project depends on, often thousands of files per project. Safe to delete; npm install brings it back from the lockfile.
- What is Docker.raw, and how do you shrink it safely?Docker.raw is the single disk file where Docker Desktop keeps images, containers and volumes. Never delete it while Docker runs; use docker system prune.
- What is the Slack cache on a Mac, and is it safe to delete?Slack keeps cache folders inside its app data on your Mac. They are safe to clear and rebuild. Use Slack's own menu to clear them. Here is how, step by step.
- What is the Google Chrome cache on a Mac, and is it safe to delete?Google Chrome stores cached web files on your Mac. They are safe to clear and rebuild when you browse. Here is where they live and how to clear them.
- What is ~/.cache/huggingface, and is it safe to delete?~/.cache/huggingface holds AI models and datasets that Python tools downloaded. They re-download when a script needs them; delete selectively with delete-cache.
- What is the Spotify cache on a Mac, and is it safe to delete?Spotify keeps a cache of recently played music and data on your Mac. It is safe to clear in Settings, and it refills. Here is where it lives and what to check.
- What is ~/.ollama/models, and how do you remove models safely?~/.ollama/models stores every AI model you pulled with Ollama, often several gigabytes each. Remove ones you do not use with ollama rm, not by deleting files.
- What is the pip cache, and is it safe to delete?The pip cache in ~/Library/Caches/pip holds downloaded Python wheels and HTTP responses. Safe to clear with pip cache purge; packages re-download on install.
- What is ~/Library/Caches/JetBrains, and is it safe to delete?~/Library/Caches/JetBrains holds IDE indexes and caches for IntelliJ, PyCharm and more. Learn how to clear them safely with Invalidate Caches.
- What are conda environments, and can you delete them?Conda environments in ~/miniconda3/envs or ~/anaconda3/envs each hold a full set of packages. Look first, then remove unused ones with conda env remove -n NAME.
- What is ~/Library/Caches/Homebrew, and is it safe to delete?~/Library/Caches/Homebrew stores downloads of installed packages. brew cleanup clears old ones safely and nothing breaks. Learn the commands and what they do.
- What is a .venv or venv folder, and is it safe to delete?A .venv or venv folder is one project's Python environment, often hundreds of megabytes. Look first, then delete and rebuild it from requirements.txt if needed.
- What is ~/.Trash on a Mac, and is it safe to empty?~/.Trash holds files you deleted and still uses disk space until you empty it. Emptying is permanent. Here is how to check it and empty it safely.
- What is ~/.cargo/registry, and is it safe to delete?~/.cargo/registry holds downloaded Rust crates and their unpacked sources. It is safe to delete; Cargo downloads crates again on the next build, needing network.
- What should I delete from my Downloads folder on a Mac?Your Downloads folder fills up with old installers, DMGs and zips. Learn what is safe to delete, what to check first, and how Clean House sorts it into piles.
- What is ~/go/pkg/mod, and is it safe to delete?~/go/pkg/mod holds the Go modules your builds downloaded. It is safe to clear with go clean -modcache; Go downloads modules again when a build needs them.