Codex CLI 0.137.0 standalone installer is broken on Linux x64

Open 💬 2 comments Opened Jun 4, 2026 by Boilerplate4u

The official standalone installer for Codex CLI 0.137.0 appears to be broken on Linux x64.

The documented install command:

curl -fsSL https://chatgpt.com/codex/install.sh | sh

fails before installing Codex.

Environment

OS: Linux x64
User: root
Install method: official standalone installer
Target version: 0.137.0

Actual behavior

Running the official installer:

curl -fsSL https://chatgpt.com/codex/install.sh | sh

produces:

==> Installing Codex CLI
==> Detected platform: Linux (x64)
==> Resolved version: 0.137.0
==> Downloading Codex CLI
Could not find SHA-256 digest for codex-package-x86_64-unknown-linux-musl.tar.gz in codex-package_SHA256SUMS.

So the installer aborts and no codex binary is installed.

After that:

type -a codex
codex --version

results in:

-bash: type: codex: not found
-bash: /root/.local/bin/codex: No such file or directory

Additional findings

As a diagnostic step, I downloaded the installer and patched it to avoid the broken codex-package_SHA256SUMS path:

curl -fsSL https://chatgpt.com/codex/install.sh -o /tmp/codex-install.sh
sed -i 's/checksum_asset="codex-package_SHA256SUMS"/checksum_asset="__disabled_codex-package_SHA256SUMS"/' /tmp/codex-install.sh
sh /tmp/codex-install.sh

That got past the checksum issue but failed during installation:

==> Installing standalone package to /root/.codex/packages/standalone/releases/0.137.0-x86_64-unknown-linux-musl
cp: cannot stat '/tmp/tmp.iqylfXbvms/extract/package/vendor/x86_64-unknown-linux-musl/codex/codex': No such file or directory

This suggests the installer expects:

package/vendor/x86_64-unknown-linux-musl/codex/codex

but the package layout appears to have changed.

After patching that expected path from:

/codex/codex

to:

/bin/codex

the installer failed again:

cp: cannot stat '/tmp/tmp.iZgH0RKJ2p/extract/package/vendor/x86_64-unknown-linux-musl/path/rg': No such file or directory

So the installer also appears to expect:

package/vendor/x86_64-unknown-linux-musl/path/rg

while the current package layout seems to use a different path, likely:

package/vendor/x86_64-unknown-linux-musl/codex-path/rg

Expected behavior

The official installer should:

  1. resolve version 0.137.0,
  2. download the Linux x64 package,
  3. find a valid SHA-256 digest,
  4. verify the archive,
  5. install Codex successfully,
  6. make codex --version return codex-cli 0.137.0.

Actual behavior summary

The installer fails because:

  1. codex-package_SHA256SUMS does not contain a digest for:
codex-package-x86_64-unknown-linux-musl.tar.gz
  1. even when bypassing that checksum-file path, the installer appears to expect old package paths:
vendor/x86_64-unknown-linux-musl/codex/codex
vendor/x86_64-unknown-linux-musl/path/rg

while the published package seems to use a newer layout.

Impact

The official standalone installation path for Codex CLI 0.137.0 on Linux x64 is unusable.

This looks like the install script and the published release assets are out of sync.

Question: Was this installer tested using CI/CD against the actual published Linux x64 release archive before release?

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗