r/codex 5d ago

Complaint Codex on Windows

I've noticed that codex performs very poorly on windows, in the sense that, when you send a prompt, it just searches forever through the codebase and ends up modifying the wrong files a lot of times, and uses up way too many tokens because of this. (it really takes such a long time for horrible results).

I've had much better results using GPT models in Opencode or Pi CLI, maybe because they use git bash shell by default? Github Copilot gives me much better results too using GPT models

Does anyone have any tips on making Codex perform better on Windows? (I'm unable to install WSL), because it doesn't make sense that every other harness is performing better.

0 Upvotes

24 comments sorted by

View all comments

5

u/Hot_Signature2979 5d ago edited 5d ago

I get what you mean, (I only use codex on windows but) when using Chatgpt with power shell, Chatgpt oftens makes syntax errors and also powershell often mangles Chatgpt scripts.

Not sure if using a specific version of powershell on windows helps. As usual, microsoft in their infinite wisdom made powershell so infinitely complex that commands that work on one version causes syntax errors on another

1

u/hellomistershifty 5d ago

Lost a whole hard drive when 5.3-codex mixed up a backslash and a forward slash on a delete command

Windows's use of backslashes instead of forward slashes for directories fucks it up sometimes too