Codex update doesn't cleanup older versions
Open 💬 1 comment Opened May 12, 2026 by mcimadamore
What version of Codex CLI is running?
0.130.0
What subscription do you have?
enterprise
Which model were you using?
gpt-5.5
What platform is your computer?
Linux 5.15.0-177-generic x86_64
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
Running "codex update" successfully updates codex, but also leaves all releases in place. This means that on every update the local ".codex" folder gets ~250M bigger. There should at least be an option to select a different behavior, or perhaps the script could keep a fixed number of older versions in place?
What steps can reproduce the bug?
Uploaded thread: 019e1b63-9bd5-7903-a9e2-c145b7bea465
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗