Project Version
9.8.2
Bug Description
Describe the bug
When using clink with codex ... (or clink codex ...), the command fails with:
codex: command not found
This happens only when Codex CLI is installed globally via nvm + npm install -g @openai/codex.
The MCP subprocess started by uvx (or the bash wrapper) does not inherit the dynamic PATH injected by nvm, so it cannot find the codex binary.
To Reproduce
- Install nvm and Codex CLI:
nvm install node
npm install -g @openai/codex
Relevant Log Output
Operating System
Linux
Sanity Checks
Project Version
9.8.2
Bug Description
Describe the bug
When using
clink with codex ...(orclink codex ...), the command fails with:This happens only when Codex CLI is installed globally via
nvm+npm install -g @openai/codex.The MCP subprocess started by
uvx(or the bash wrapper) does not inherit the dynamic PATH injected by nvm, so it cannot find thecodexbinary.To Reproduce
Relevant Log Output
Operating System
Linux
Sanity Checks
GEMINI_API_KEYOPENAI_API_KEYOPENROUTER_API_KEYCUSTOM_API_URL