CLI and VSCode extension not working due to Unsupported platform

Resolved 💬 8 comments Opened Aug 31, 2025 by gauravmahto Closed Sep 5, 2025
💡 Likely answer: A maintainer (bolinfest, collaborator) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.27.0

Which model were you using?

N/A

What platform is your computer?

Microsoft Windows NT 10.0.26120.0 x64

What steps can reproduce the bug?

After performing npm i and executing via. codex command.
I get below error:
file:///C:/Users/user/AppData/Roaming/fnm/node-versions/v22.18.0/installation/node_modules/@openai/codex/bin/codex.js:56
throw new Error(
Unsupported platform: ${platform} (${arch})`);
^

Error: Unsupported platform: win32 (arm64)
at file:///C:/Users/gaura/AppData/Roaming/fnm/node-versions/v22.18.0/installation/node_modules/@openai/codex/bin/codex.js:56:9
at ModuleJob.run (node:internal/modules/esm/module_job:343:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:647:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)

Node.js v22.18.0
`

What is the expected behavior?

The codex cli must execute along with VSCode extension

What do you see instead?

The error in cli and in VSCode it is always trying to load with no output in the extension window

Additional information

Windows Arm64 machine using Snapdragon Elite X processor

View original on GitHub ↗

8 Comments

gauravmahto · 10 months ago

@chorizoensnik92 Is this official build?

bolinfest collaborator · 10 months ago

Apparently the build logic is there for rg to support Windows ARM, but a new release has not been cut since that was merged: https://github.com/BurntSushi/ripgrep/pull/3038.

bolinfest collaborator · 10 months ago
bolinfest collaborator · 10 months ago

OK, I believe that everything is in place such that the next CLI and VS Code releases should include support for Windows on arm64. Will close this issue once they are available.

gauravmahto · 10 months ago

I can confirm that this is now working for CLI but for VSCode the update is pending though the pre-release version is working.

bolinfest collaborator · 10 months ago

The stable release of the extension is now out as 0.4.3 and includes support for Windows ARM, so closing!

MrSimonC · 10 months ago

@bolinfest It's working brilliantly on Windows ARM11 (on VMWare on Apple Mac Silicone M2 Pro). Super big thanks from me on this. Well done Codex team!