What zsh does VSCode extension actually use?

Open 💬 1 comment Opened May 11, 2026 by Jason5Lee

What version of the IDE extension are you using?

26.506.31421

What subscription do you have?

Custom API Key

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 24.5.0 arm64 arm

What issue are you seeing?

When codex tried to run a command, it couldn't find the binary in its path.

According to the error output, it seems that it used zsh.

<img width="399" height="131" alt="Image" src="https://github.com/user-attachments/assets/6e4713f0-9989-4006-82a3-809810f45c56" />

So I added the PATH in ~/.zshrc, and have tested that zsh now can see the variable and run npx.

Then I reloaded the VSCode window and tried again, still, command not found.

Then I added it to .bash_profile also, and tried again, still, command not found.

So what zsh does the extension actually use, so I can add PATH?

What steps can reproduce the bug?

Having a prompt that requires running a command that its PATH is defined in ~/.zshrc.

What is the expected behavior?

The command can be run.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗