# GHC versions (Stack)

Source: https://diskcity.app/folders/pkg-stack-programs

**Check before deleting.** Usually, but look first. Stack installs the compiler a project needs on its next build, which takes a while.

## What it is

GHC versions (Stack) is data your Mac or an app can rebuild. It lives at ~/.stack/programs.

## Where it is

- `~/.stack/programs`

## How big is it?

```sh
du -sh "$HOME/.stack/programs"
```

## How to remove it

1. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
2. Leave anything opened or changed less than 180 days ago (for a folder, its newest file counts). DiskCity waits that long too.
3. Move only what passes these checks to the Trash.
4. Empty the Trash to get the space back. Until then, you can still put things back.

## What DiskCity does with it

DiskCity labels it as rebuildable and removes it only when you approve. Even with Autopilot on, it never removes it without your yes. It only suggests it once it hasn't been used for 180 days.
