What version of Codex is running?
v0.1.2504172351
Which model were you using?
o4-mini
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
- Run
npm i -g @openai/codex
- Run codex
It will output
& : The term 'sh.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is correct and try again.
What is the expected behavior?
Expected behavior is for codex cli to start running properly. This PR shows the expected behavior #318
What do you see instead?
A message indicating the powershell shim codex.ps1 is attempting to run sh.exe. This shouldn't be happening because
Additional information
Added a potential fix here #318 , this change now provides cross-platform support and works on all CLIs by using a Node based entry point
What version of Codex is running?
v0.1.2504172351
Which model were you using?
o4-mini
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
npm i -g @openai/codexIt will output
What is the expected behavior?
Expected behavior is for codex cli to start running properly. This PR shows the expected behavior #318
What do you see instead?
A message indicating the powershell shim
codex.ps1is attempting to runsh.exe. This shouldn't be happening becauseAdditional information
Added a potential fix here #318 , this change now provides cross-platform support and works on all CLIs by using a Node based entry point