The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 23:00 UTC
fix(desktop): find linuxbrew node for the WSL backend (#7827)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Cody Ray Hoeft committed
Sep 22, 2026 at 17:46 UTC
e4422eec752e8cce46af2865d8fbd3d5b7468a2a
2 files changed
+2
packages/ssh/src/tunnel.test.ts
+1
@@ -227,6 +227,7 @@ describe("ssh tunnel scripts", () => {
227
assert.include(script, "remote_node_satisfies_engine()");
228
assert.include(script, "function satisfiesSemverRange");
229
assert.include(script, "satisfiesSemverRange(rawVersion, range)");
230
+ assert.include(script, 'prepend_path_if_dir "/home/linuxbrew/.linuxbrew/bin"');
231
assert.include(script, 'prepend_path_if_dir "$VOLTA_HOME/bin"');
232
assert.include(script, 'prepend_path_if_dir "$HOME/.asdf/shims"');
233
assert.include(script, 'prepend_path_if_dir "$HOME/.local/share/mise/shims"');
packages/ssh/src/tunnel.ts
+1
@@ -360,6 +360,7 @@ ensure_remote_node_path() {
360
prepend_path_if_dir "$HOME/.local/bin"
361
prepend_path_if_dir "$HOME/bin"
362
prepend_path_if_dir "/opt/homebrew/bin"
363
+ prepend_path_if_dir "/home/linuxbrew/.linuxbrew/bin"
364
prepend_path_if_dir "/usr/local/bin"
365
prepend_path_if_dir "/usr/bin"
366
prepend_path_if_dir "/bin"