# Swift Package Manager cache

Source: https://diskcity.app/folders/xcode-swift-pmcache

**Safe to delete.** Yes. Swift Package Manager downloads packages again when needed.

## What it is

Swift Package Manager cache is data your Mac or an app can rebuild. It lives at ~/Library/Caches/org.swift.swiftpm.

## Where it is

- `~/Library/Caches/org.swift.swiftpm`

## How big is it?

```sh
du -sh "$HOME/Library/Caches/org.swift.swiftpm"
```

## How to remove it

1. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
2. Move its contents to the Trash.
3. 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 when you approve, or on its own if you turn on Autopilot.
