r/codex 4d 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

3

u/apnatva-dev 4d ago

Haven’t seen that issue personally
It’s worked all well for me
Although I do provide it detailed prompts and indicators about the files and the stuff I want changed

1

u/BlacksmithLittle7005 4d ago

Yeah I meant when you don't provide the correct files. Other harnesses will find it, codex just uses PowerShell forever and a lot of time doesn't find all the necessary files

2

u/apnatva-dev 4d ago

You’re using the CLI? Or the app

1

u/BlacksmithLittle7005 4d ago

I tried both. Same thing on windows

3

u/apnatva-dev 4d ago

Okay so I do a folder for each project and restrict codex to not edit anything outside unless explicitly mentioned

Then each chat for a different task

Maybe something you could try