How to downgrade?

Resolved 💬 3 comments Opened Jul 9, 2025 by hippyau Closed Jul 9, 2025

Hi there

This came up this morning, so I did it...

<img width="505" height="112" alt="Image" src="https://github.com/user-attachments/assets/3b9a43d1-5a00-4d46-93e3-2b69546ab29a" />

Sorry, but how do I undo it? I preferred the version I was on, but unsure how to downgrade?

View original on GitHub ↗

3 Comments

hippyau · 1 year ago

Solved...

npm uninstall -g @openai/codex

npm install -g @openai/codex@0.1.2505172129
DMIGitH · 1 month ago

Uninstalling codex and reinstalling version 0.142.5 fixed the issue. Whether just uninstalling and reinstalled fixed it or reverting back to the older version I can't say. Current version as of late yesterday is 0.143.

BOPOHA · 15 days ago

here is a workaround for downgrading the codex cli version, the key is CODEX_RELEASE=0.146.1 :

$ curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 CODEX_RELEASE=0.146.1 sh
==> Updating Codex CLI from 0.147.0 to 0.146.1
==> Detected platform: Linux (x64)
==> Resolved version: 0.146.1
==> /home/user/.local/bin is already on PATH
==> Current terminal: codex
==> Future terminals: open a new terminal and run: codex
Codex CLI 0.146.1 installed successfully.