Can't be used in Windows

Resolved 💬 6 comments Opened Aug 11, 2025 by sdudnic-ingerop Closed Nov 20, 2025

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:

<img width="861" height="384" alt="Image" src="https://github.com/user-attachments/assets/de0247e1-1cb3-46ee-8036-6f161d90c661" />

<img width="753" height="789" alt="Image" src="https://github.com/user-attachments/assets/4f0fbfaf-e055-4d04-b6a1-a0bd54938f9f" />

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.

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗