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
I do not know how to reproduce this. I simply installed the CLI through the steps provided and ran it.
The problem persists whether I open codex through CMD and PowerShell, also with administrator privileges.
I also use Gemini CLI which works fine.
What is the expected behavior?
The CLI running shell commands.
What do you see instead?
When trying to run shell commands, the CLI reports "program not found"
Additional information
It is not able to execute any shell commands.
It appears creating/writing files uses the built‑in apply_patch API, but reading files uses shell, therefore it is able to write files but not read them.
I purchased a Plus subscription specifically for Coxed; really hope somebody can shed some light on this.
windows is really problematic. I strongly suggest activating "Windows Subsystem For Linux", installing Ubuntu and installing codex cli there.
alternatively you can try putting this in the AGENTS.md:
You are on Windows. Use ONLY windows commands. Use ONLY powershell. If a command fails find out the correct syntax and extend AGENTS.md to note down that syntax for future use
windows is really problematic. I strongly suggest activating "Windows Subsystem For Linux", installing Ubuntu and installing codex cli there.
alternatively you can try putting this in the AGENTS.md:
You are on Windows. Use ONLY windows commands. Use ONLY powershell. If a command fails find out the correct syntax and extend AGENTS.md to note down that syntax for future use
still you have to deal with some MCP related failure issue
Activity
FreddyE1982 commentedon Aug 29, 2025
windows is really problematic. I strongly suggest activating "Windows Subsystem For Linux", installing Ubuntu and installing codex cli there.
alternatively you can try putting this in the AGENTS.md:
You are on Windows. Use ONLY windows commands. Use ONLY powershell. If a command fails find out the correct syntax and extend AGENTS.md to note down that syntax for future use
Priyabhunia commentedon Aug 29, 2025
still you have to deal with some MCP related failure issue
sfz009900 commentedon Aug 29, 2025
Same here, MCP doesn't work for me either. I just use a VSCode plugin.
Priyabhunia commentedon Aug 29, 2025
I am not in wsl yet but I think image dragdrop also wont work .can you confirm it
zheli1119 commentedon Sep 8, 2025
I highly suspect your issue is due to this problem; you can try modifying shell.rs and rebuilding. #3253
fix(windows-path): preserve PATH order; include core env vars (#5579)
fix(windows-path): preserve PATH order; include core env vars (openai…
fix(windows-path): preserve PATH order; include core env vars (openai…
etraut-openai commentedon Nov 25, 2025
We've made significant improvements for Windows — both WSL and native — recently, so you should no longer see this problem with the latest versions.
fix(windows-path): preserve PATH order; include core env vars (openai…