mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-01 19:03:42 +00:00
Auto detect pnpm global installation path for macOS and Windows (#22748)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Coco Sheng <cocosheng@google.com>
This commit is contained in:
@@ -119,7 +119,9 @@ export function getInstallationInfo(
|
||||
// Check for pnpm
|
||||
if (
|
||||
realPath.includes('/.pnpm/global') ||
|
||||
realPath.includes('/.local/share/pnpm')
|
||||
realPath.includes('/.local/share/pnpm') ||
|
||||
realPath.includes('/Library/pnpm/global/') ||
|
||||
realPath.includes('/AppData/Local/pnpm/global/')
|
||||
) {
|
||||
const updateCommand = 'pnpm add -g @google/gemini-cli@latest';
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user