#17446·orca

[Bug]: $PATH is being mangled/reordered in Orca causing CLI breakages

Author: KieranPCreated Aug 30, 2026Updated Sep 29, 2026
Labelsbugos:macos

Operating system

macOS

Orca version

v1.4.192

Details

In Ghostty:

› echo $PATH
/Users/kieran/.local/share/mise/installs/node/24.16.0/bin:/Users/kieran/.local/share/mise/installs/ruby/4.0.5/bin:/Users/kieran/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/kieran/.local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/pkg/env/global/bin:/Applications/Ghostty.app/Contents/MacOS

› which node
/Users/kieran/.local/share/mise/installs/node/24.16.0/bin/node

› which ruby
/Users/kieran/.local/share/mise/installs/ruby/4.0.5/bin/ruby

In Orca:

› echo $PATH
/Users/kieran/.local/share/mise/installs/node/24.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/kieran/.local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/pkg/env/global/bin:/Applications/Orca.app/Contents/Resources/bin:/Users/kieran/.local/share/mise/installs/ruby/4.0.5/bin:/Users/kieran/.cargo/bin:/Users/kieran/.orbstack/bin:/usr/local/sbin:/nix/var/nix/profiles/default/bin:/Users/kieran/bin:/Users/kieran/.nix-profile/bin:/Users/kieran/.opencode/bin:/Users/kieran/.vite-plus/bin:/Users/kieran/.volta/bin:/Users/kieran/.asdf/shims:/Users/kieran/.fnm/aliases/default/bin:/Users/kieran/.local/share/mise/shims:/Users/kieran/Library/pnpm:/Users/kieran/.yarn/bin:/Users/kieran/.bun/bin

› which node
/Users/kieran/.local/share/mise/installs/node/24.16.0/bin/node

› which ruby
/usr/bin/ruby

Note that the ordering has changed, so Ruby, which should use mise path, now defaults to system path. It's also adding in asdf, nix, opencode, vite-plus, volta, fnm, and yarn, none of which I have installed :-/

Looks like this could be the culpret - https://github.com/stablyai/orca/blob/main/src/shared/posix-version-manager-bin-dirs.ts

Sadly, because of the PATH being mangled, I can't use Orca. Orca should not be altering my path, leave that to me in my ~/.zshrc file please :-)