# Codex runtimes

Source: https://diskcity.app/folders/agents-codex-runtimes

**Check before deleting.** Usually, but look first. The Codex app downloads its runtime again the next time it starts.

## What it is

The Codex app downloads the runtime it runs tools with (Node and its packages) here, plus folders of unfinished installs; it downloads them again when they are missing.

Nothing goes while the Codex app or the codex command runs, or within 14 days of use. Your sessions and settings in ~/.codex stay.

## Where it is

- `~/.cache/codex-runtimes`

## How big is it?

```sh
du -sh "$HOME/.cache/codex-runtimes"
```

## How to remove it

1. Quit com.openai.codex, codex first.
2. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
3. Leave anything opened or changed less than 14 days ago (for a folder, its newest file counts). DiskCity waits that long too.
4. Move only what passes these checks to the Trash.
5. 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. It only suggests it once it hasn't been used for 14 days. It waits until com.openai.codex is closed.

## Sources

- https://github.com/openai/codex

Checked 2026-10-29.
