Codex Terminal in Windows Sandbox doesn't detect programs
Open 💬 1 comment Opened Apr 7, 2026 by acepace
What version of the Codex App are you using (From “About Codex” dialog)?
26.325.31654
What subscription do you have?
Business
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Running in my terminal the command npm returns correct NPM output.
When codex runs inside the sandboxed terminal npm --version
The following output is returned
npm:
Line |
2 | npm --version
| ~~~
| The term 'npm' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
What steps can reproduce the bug?
Install something that is per user for example, npm undernpm@11.5.1 C:\Users\danie\AppData\Roaming\fnm\node-versions\v24.5.0\installation\node_modules\npm
And run the same commands
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗