Skip to content

Cannot run Codex 0.105.0 on Windows #12797

Closed

Description

@jta5456

What version of Codex CLI is running?

0.105.0

What subscription do you have?

Plus

Which model were you using?

No response

What platform is your computer?

Microsoft Windows NT 10.0.26300.0 x64

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

PowerShell

What issue are you seeing?

PS E:\Repos\Edge_2025_Release1> codex
file:///C:/Users/USER_NAME/AppData/Roaming/npm/node_modules/@openai/codex/bin/codex.js:100
throw new Error(
^

Error: Missing optional dependency @openai/codex-win32-x64. Reinstall Codex: npm install -g @openai/codex@latest
at file:///C:/Users/USER_NAME/AppData/Roaming/npm/node_modules/@openai/codex/bin/codex.js:100:11
at ModuleJob.run (node:internal/modules/esm/module_job:430:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:655:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)

Node.js v25.6.1

What steps can reproduce the bug?

Try to launch codex on Windows

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Feb 25, 2026
  2. added
    CLI
    windows-os
    on Feb 25, 2026
  3. github-actions commented on Feb 25, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. etraut-openai commented on Feb 25, 2026

    @etraut-openai
    Contributor

    Were you able to run 0.104.0 on your system? I'm trying to determine if this was a regression in 0.105.0.

  5. jta5456 commented on Feb 25, 2026

    @jta5456
    Author

    Yes, I am even able to run 0.105.0-alpha.26

    The big difference is how I install:

    npm install -g https://github.com/openai/codex/releases/download/rust-v0.105.0-alpha.26/codex-npm-0.105.0-alpha.26.tgz

    vs

    npm install -g @openai/codex@latest

    Hope this helps.

  6. jta5456 commented on Feb 25, 2026

    @jta5456
    Author

    Well now it works after regressing to the alpha version and then reinstalling the latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions