# Is it safe to delete ~/.cocoapods/repos?

- URL: https://moreroom.app/folders/cocoapods-repos
- Item: CocoaPods spec repositories
- Location: `~/.cocoapods/repos`
- Verdict: Safe to remove — Rebuilt or re-downloaded automatically when needed.
- Comes back on its own: yes
- Source: MoreRoom rules catalogue (2026-10-17), by Yando Pte. Ltd.

## What is it?

Local copies of the pod spec repositories CocoaPods uses to look up pods, kept in `~/.cocoapods/repos`. Since CocoaPods 1.8 the public trunk repository is read through a CDN and stays small, but an older full clone of the master specs repository can take several gigabytes, and private spec repos you added live here too.

## What happens if you delete it?

CocoaPods recreates the trunk index and clones any spec repository declared with `source` in a Podfile the next time you run `pod install`. A private repo you only added by hand with `pod repo add` has to be added again.

## How to remove it properly

Run `pod repo list`, then `pod repo remove <name>` for the repositories you no longer need, which is the official way, or move `~/.cocoapods/repos` to the Trash.

## Before you delete it

Note the URLs of private spec repos (`pod repo list` shows them) before removing them.
