Skip to content

Bug: codex fails with "Missing optional dependency @openai/codex-linux-x64" on Ubuntu x86_64 #13555

Description

@tsugumi-sys

What version of Codex CLI is running?

0.110.0

What subscription do you have?

Plus

Which model were you using?

No response

What platform is your computer?

No response

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

Running codex fails with:

Error: Missing optional dependency @openai/codex-linux-x64.
Reinstall Codex: npm install -g @openai/codex@latest

Environment:

  • OS: Ubuntu 22.04.4 LTS
  • Kernel: 5.15.0-157-generic
  • Architecture: x86_64
  • Node: v24.14.0
  • npm: 11.9.0
  • Codex CLI: 0.110.0

What steps can reproduce the bug?

node -v
# v24.14.0

npm -v
# 11.9.0

sudo npm install -g @openai/codex@latest

which codex
# /usr/local/bin/codex

codex --version

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingregressionBehaviors that worked in previous versions but were broken due to an update

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions