Codex CLI `codex app` command installs `arm64` app on `x86_64` Mac

Open 💬 1 comment Opened Apr 11, 2026 by erhhung

What version of Codex CLI is running?

0.120.0

What subscription do you have?

ChatGPT

Which model were you using?

gpt-5.4

What platform is your computer?

Darwin 24.6.0 x86_64 i386

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

Ghostty

What issue are you seeing?

CLI command codex app installs the wrong macOS application binary on an Intel Mac.

What steps can reproduce the bug?

$ codex app
Codex Desktop not found; downloading installer...
Downloading installer...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100 184.8M 100 184.8M   0      0 64.21M      0   00:02   00:02         64.11M
Mounting Codex Desktop installer...
Installer mounted at /Volumes/Codex Installer.
Installing Codex Desktop into /Applications...
"disk4" ejected.
Launching Codex Desktop from /Applications/Codex.app...
Opening workspace /Users/erhhung/dev...
The application /Applications/Codex.app cannot be opened because it has an incorrect executable format.
Error: `open -a /Applications/Codex.app /Users/erhhung/dev` exited with exit status: 1

$ file /Applications/Codex.app/Contents/MacOS/*
/Applications/Codex.app/Contents/MacOS/Codex: Mach-O 64-bit executable arm64

What is the expected behavior?

codex app should launch the Codex Desktop app, installing it if necessary.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗