Skip to content

Codex CLI codex app command installs arm64 app on x86_64 Mac #17461

@erhhung

Description

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions