Fix(cli): Improve Homebrew update instruction to specify gemini-cli (#14502)

This commit is contained in:
Daan Versavel
2025-12-04 15:28:25 +01:00
committed by GitHub
parent d5e5f58737
commit 46bb07e4b7
2 changed files with 4 additions and 2 deletions

View File

@@ -149,7 +149,9 @@ describe('getInstallationInfo', () => {
);
expect(info.packageManager).toBe(PackageManager.HOMEBREW);
expect(info.isGlobal).toBe(true);
expect(info.updateMessage).toContain('brew upgrade');
expect(info.updateMessage).toBe(
'Installed via Homebrew. Please update with "brew upgrade gemini-cli".',
);
});
it('should fall through if brew command fails', () => {

View File

@@ -88,7 +88,7 @@ export function getInstallationInfo(
packageManager: PackageManager.HOMEBREW,
isGlobal: true,
updateMessage:
'Installed via Homebrew. Please update with "brew upgrade".',
'Installed via Homebrew. Please update with "brew upgrade gemini-cli".',
};
} catch (_error) {
// Brew is not installed or gemini-cli is not installed via brew.