Is it safe to delete Cabal store?

~/.cabal/store · Safe to delete

What it is

Built Haskell packages shared between projects.

Can you delete it?

Yes, it is rebuilt automatically. cabal rebuilds them on demand.

How to clean it safely

  1. Delete the folders for old GHC versions inside the store.

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/".cabal/store" 2>/dev/null

Step-by-step guide: Developer caches on a Mac →

Questions

Is it safe to delete ~/.cabal/store?

Yes, it is rebuilt automatically. cabal rebuilds them on demand.

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