use brew install codex on apple arm64 install x86_64 codex binary, should install arm64 codex.

Resolved 💬 3 comments Opened Jan 28, 2026 by bronze1man Closed Jan 28, 2026
💡 Likely answer: A maintainer (shijie-oai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.92.0

What subscription do you have?

ChatGPT Business

Which model were you using?

gpt-5.2-codex

What platform is your computer?

Darwin 24.1.0 arm64 arm

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

iTerm2

What issue are you seeing?

brew install codex
==> Downloading https://github.com/openai/codex/releases/download/rust-v0.92.0/codex-x86_64-apple-darwin.tar.gz
Already downloaded: /Users/xxxxx/Library/Caches/Homebrew/downloads/f97c5b95dde2e28e13c16cb6985dd923c3395ff08554da8817f4eb2036ef0cd7--codex-x86_64-apple-darwin.tar.gz
All dependencies satisfied.
==> Installing Cask codex
==> Linking Binary 'codex-x86_64-apple-darwin' to '/usr/local/bin/codex'
🍺 codex was successfully installed!
xxx > file /usr/local/bin/codex
/usr/local/bin/codex: Mach-O 64-bit executable x86_64
xxx > uname -a
Darwin xxxx.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:00:32 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6030 arm64

What steps can reproduce the bug?

brew install codex

What is the expected behavior?

should install arm64 codex.

Additional information

_No response_

View original on GitHub ↗

3 Comments

shijie-oai contributor · 7 months ago

Thanks for reporting @bronze1man! If you run uname -m and which brew in your terminal, what is the output?

bronze1man · 7 months ago

xxx > uname -m
arm64
xxx > which brew
/usr/local/bin/brew

shijie-oai contributor · 7 months ago

Your brew install is pointing to the Intel install path instead of Arm. I would recommend fix the brew env and it should then install the correct version for your machine.