Fix Windows Claude CLI detection (#2145)

This commit is contained in:
Jinwoo Hong
2026-05-17 05:47:12 -04:00
committed by GitHub
parent 673e558f49
commit 8370d78e71
4 changed files with 81 additions and 28 deletions
+3
View File
@@ -98,6 +98,9 @@ function getVersionManagerDirectories(
}
if (platform === 'win32') {
// Why: Anthropic's native Windows installer places claude.exe here, and
// GUI-launched Orca may not inherit the user's PATH entry for it.
directories.push(join(homePath, '.local', 'bin'))
directories.push(join(homePath, 'AppData', 'Roaming', 'npm'))
directories.push(join(homePath, 'AppData', 'Local', 'pnpm'))
directories.push(join(homePath, 'AppData', 'Local', 'Yarn', 'bin'))