mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-11 06:11:21 +08:00
92a07bdb2b
- Extract version helper to parse semver from raw output - Add fallback path scanning when direct execution fails - Scan common npm global paths: .npm-global, .local/bin, homebrew - Support nvm by scanning all node versions under ~/.nvm/versions/node - Add platform-specific paths for macOS, Linux, and Windows - Ensure node is in PATH when executing CLI tools from scanned paths