Reference / Application caches

Is it safe to delete ~/.codex/cache on a Mac?

Safe to delete

Your tools rebuild it the next time you build.

~/.codex/cache
What it is
Codex (OpenAI) desktop app cache — rebuilt automatically
If you delete it
Codex desktop rebuilds caches on next launch
Recovery time
about a minute
Category
Application caches

Don't guess — let diskspace check it live.

It pressure-tests the path against your live disk state and stages it reversibly, so you never lose anything you needed.

$ brew install tymrtn/diskspace/diskspace $ diskspace explain ~/.codex/cache # verdict + live pressure-test