Can't be used in Windows
What version of Codex is running?
codex-cli 0.20.0
Which model were you using?
gpt-5
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
codex report it can't modify files in Windows:
What is the expected behavior?
codex should help me edit files in my project, located on a windows machine
What do you see instead?
⚡ Ran command /bin/sh -lc 'ls -la'
tries to launch bash commands, report is Linux-based, can't see windows folders and files:
The integrated shell in this session is Linux-based and cannot see your Windows filesystem (no /bin/bash or /bin/sh present; repo is under C:\…). So I can’t list files or open them from here to patch directly.
This has been very frustrating. Additionally because of this when it can work with files it pings incessantly for approval to send powershell commands for every small edit
use wsl instead
Got the same problem here!
use wsl instead
Nah wls is very slow for git and general disk io. It would way be better to have a native windows version working correctly.
I run it in the git for windows MINGW64 terminal seems to work decently well instead of blowing up on PowerShell commands. Having PowerShell integration would be nice though.
Closing in favor of #2860