CLI version 0.124.0 is missing @openai/codex-linux-x64
Resolved 💬 8 comments Opened Apr 23, 2026 by michalzarsm Closed Apr 23, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
0.124.0
What subscription do you have?
Pro
Which model were you using?
_No response_
What platform is your computer?
Linux 6.18.20 x86_64 unknown (NixOS)
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
file:///home/<REDACTED_USER>/.npm-packages/lib/node_modules/@openai/codex/bin/codex.js:100
throw new Error(
^
Error: Missing optional dependency @openai/codex-linux-x64. Reinstall Codex: npm install -g @openai/codex@latest
at file:///home/<REDACTED_USER>/.npm-packages/lib/node_modules/@openai/codex/bin/codex.js:100:11
at ModuleJob.run (node:internal/modules/esm/module_job:325:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:606:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)
What steps can reproduce the bug?
Update the Codex CLI to latest version
What is the expected behavior?
_No response_
Additional information
Re-installing or updating again doesn't fix the issue.
8 Comments
And no 5.5 to use.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Did 0.123.0 run on your machine? Just wondering if this is a regression in 0.124.0 or perhaps a configuration issue on your system? We haven't seen this problem internally or received reports (yet) from other users.
Edit: I see more upvotes coming in now.
Yes, i was using 0.123.0 without problems just before updating.
Upgrade from 0.123. My env is ubuntu24.04. Downloading the bin directly can work. But npm install is broken. It's not related to the binary.
This may be a timing issue. It can take a little while for uploads to npm to complete. Give it a few minutes and try again.
Yes, i think that's the case, i just did another install and now it works for me.
Oh, it works for me now. Though I still can not see 5.5