You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS 15.6 arm64: codex CLI installs via npm but native binary fails to execute (spawn Unknown system error -88) #21199
On macOS 15.6 (Apple Silicon), npm install -g @openai/codex completes, but codex --version fails immediately. The failure occurs when the Node launcher tries to spawn the native Darwin ARM64 binary.
Environment
macOS 15.6
Build: 24G84
Architecture: arm64
Kernel: Darwin 24.6.0
Node.js: v25.9.0
npm: 11.12.1
Install command
npm install -g @openai/codex
Also reproduced after rolling back to @openai/codex@0.125.0.
Reproduction
codex --version
Actual result
node:internal/child_process:440
throw new ErrnoException(err, 'spawn');
^
Error: spawn Unknown system error -88
at ChildProcess.spawn (node:internal/child_process:440:11)
at spawn (node:child_process:796:9)
at file:///opt/homebrew/lib/node_modules/@openai/codex/bin/codex.js:175:15
at ModuleJob.run (node:internal/modules/esm/module_job:437:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:639:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
errno: -88,
code: 'Unknown system error -88',
syscall: 'spawn'
}
Node.js v25.9.0
Additional diagnostics
The native binary is present and matches the machine architecture:
Activity
github-actions commentedon May 5, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
dmitryallen commentedon May 11, 2026
“codex-aarch64-apple-darwin” was not opened because it contains malware. This action did not harm your Mac.
ci(native): add darwin-arm64 native acceptance leg, ad-hoc signed (#60)…
feat(prd5): S1 distribution tracer — Launcher + darwin-arm64 platform…