Skip to content

Commit 6c89c99

Browse files
committed
Support Windows as well
1 parent b069955 commit 6c89c99

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/cli/src/utils/installationInfo.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ export function getInstallationInfo(
120120
if (
121121
realPath.includes('/.pnpm/global') ||
122122
realPath.includes('/.local/share/pnpm') ||
123-
realPath.includes('/Library/pnpm/global')
123+
realPath.includes('/Library/pnpm/global/') ||
124+
realPath.includes('/AppData/Local/pnpm/global/')
124125
) {
125126
const updateCommand = 'pnpm add -g @google/gemini-cli@latest';
126127
return {

0 commit comments

Comments
 (0)