diff --git a/src/providers/agy.ts b/src/providers/agy.ts index 550c9bd1..d5905753 100644 --- a/src/providers/agy.ts +++ b/src/providers/agy.ts @@ -33,7 +33,10 @@ export class AgyProvider implements ProviderAdapter { } installCommand(os: 'linux' | 'macos' | 'windows'): string { - return 'npm install -g @google/antigravity-cli'; + if (os === 'windows') { + return 'powershell -Command "irm https://antigravity.google/cli/install.ps1 | iex"'; + } + return 'curl -fsSL https://antigravity.google/cli/install.sh | bash'; } updateCommand(): string { diff --git a/tests/providers.test.ts b/tests/providers.test.ts index 864dabc3..4882b864 100644 --- a/tests/providers.test.ts +++ b/tests/providers.test.ts @@ -883,7 +883,9 @@ describe('AgyProvider', () => { }); it('builds installCommand', () => { - expect(p.installCommand('linux')).toBe('npm install -g @google/antigravity-cli'); + expect(p.installCommand('linux')).toBe('curl -fsSL https://antigravity.google/cli/install.sh | bash'); + expect(p.installCommand('macos')).toBe('curl -fsSL https://antigravity.google/cli/install.sh | bash'); + expect(p.installCommand('windows')).toBe('powershell -Command "irm https://antigravity.google/cli/install.ps1 | iex"'); }); it('builds updateCommand', () => {