What it is
Stack's GHC installs, package snapshots and indexes.
Can you delete it?
Sometimes, check what is inside first. Everything comes back on the next build, but GHC versions are large downloads.
How to clean it safely
- Delete old GHC versions under programs and old snapshots.
- Or delete ~/.stack entirely and let stack rebuild.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/".stack" 2>/dev/nullStep-by-step guide: Developer caches on a Mac →
Related folders
- GHCup toolchains ·
~/.ghcup - Cabal store ·
~/.cabal/store - Android Studio caches ·
~/Library/Caches/Google/AndroidStudio* - LM Studio models ·
~/.lmstudio/models - Hugging Face models ·
~/.cache/huggingface - VS Code cache ·
~/Library/Application Support/Code/Cache
Questions
Is it safe to delete ~/.stack?
Sometimes, check what is inside first. Everything comes back on the next build, but GHC versions are large downloads.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac