Codex for Native Windows?
Resolved 💬 4 comments Opened Sep 22, 2025 by PierrunoYT Closed Dec 14, 2025
💡 Likely answer: A maintainer (LaelLuo, contributor)
responded on this thread — see the highlighted reply below.
Codex for Native Windows? Any eta for this?
4 Comments
We need this: https://github.com/openai/codex/pull/3994 and https://github.com/openai/codex/pull/3828
@wbdb I also opened a similar PR #3866 😂
Additionally, if you have WSL enabled on Windows, you'll notice that Codex starts very slowly.
This happens because Codex runs
bash --versionduring startup to detect if bash is available. Unfortunately, on Windows, program execution doesn't properly follow the PATH environment variable priority, so it always attempts to launch WSL to runbash --versioninstead of using the bash you've configured in PATH (such as Git Bash or MSYS2 Bash).I've submitted PR #4084 to address this issue. See also the related discussion in #3159
I am successfully using Codex on Windows directly (without WSL). While this seems not officially supported at the moment (https://github.com/openai/codex/blob/main/docs/install.md#system-requirements only lists Windows in combination with WSL), it appears to work okay but has some limitations. The main issue I encountered is that Codex prefers to use Linux commands that do not exist on Windows by default (e.g. sed and rg). However, it seems it switches to alternative Windows commands once it recognizes that these commands are not available.