Repository navigation
Fixed Installer Paths
identified multiple code paths that were all using broken /usr/bin/which directly:
Multi-Strategy Detection (Bulletproof)
CLIAvailabilityChecker now tries 3 strategies in order:
- Direct path check (fastest) - checks 10+ well-known locations:
- /opt/homebrew/bin, /usr/local/bin, ~/.local/bin, ~/bin, ~/.npm-global/bin, ~/.bun/bin, ~/.cargo/bin, etc. - Login shell which - sources user profile:
- Uses $SHELL -l -c "which binary" to get user's full PATH - Path enumeration (most thorough) - scans dynamic paths:
- All nvm versions: ~/.nvm/versions/node/*/bin
- fnm, volta, asdf, mise, proto paths