@fredlackey/devutils 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1075 @@
1
+ # Installing Google Antigravity
2
+
3
+ ## Overview
4
+
5
+ Google Antigravity is an AI-powered integrated development environment (IDE) developed by Google, announced on November 18, 2025 alongside the release of Gemini 3. It represents a shift from traditional manual coding to an agentic development platform where AI handles complete workflows. Antigravity enables developers to delegate complex coding tasks to autonomous AI agents powered primarily by Google's Gemini 3 Pro, Gemini 3 Deep Think, and Gemini 3 Flash models.
6
+
7
+ Unlike standard coding assistants that autocomplete lines, Antigravity provides a "Mission Control" for managing autonomous agents that can plan, code, and browse the web to help you build software. Key features include:
8
+
9
+ - **Agent Manager View**: Spawn multiple AI agents to work on different tasks simultaneously
10
+ - **Browser Orchestration**: Headless Chrome instance that tests web applications automatically
11
+ - **Artifacts System**: Agents generate tangible deliverables (task lists, implementation plans, screenshots, browser recordings) for verification
12
+ - **1 Million Token Context Window**: Extremely large context for understanding entire codebases
13
+ - **MCP Integration**: Connect to databases, APIs, and external tools
14
+
15
+ Antigravity is a heavily modified fork of Visual Studio Code, offering a familiar editing experience with powerful agentic capabilities. It is available free of charge during public preview.
16
+
17
+ ## Dependencies
18
+
19
+ ### macOS (Homebrew)
20
+ - **Required:**
21
+ - Homebrew - Install via `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
22
+ - **Optional:** None
23
+ - **Auto-installed:**
24
+ - Xcode Command Line Tools (automatically installed by Homebrew if not present)
25
+
26
+ ### Ubuntu (APT/Snap)
27
+ - **Required:**
28
+ - `curl` - Install via `sudo apt-get install -y curl` (usually pre-installed)
29
+ - `gpg` - Install via `sudo apt-get install -y gpg` (usually pre-installed)
30
+ - `apt-transport-https` - Install via `sudo apt-get install -y apt-transport-https`
31
+ - `sudo` privileges - Required for package installation
32
+ - glibc >= 2.28 - Ubuntu 20.04+ meets this requirement
33
+ - glibcxx >= 3.4.25 - Ubuntu 20.04+ meets this requirement
34
+ - **Optional:**
35
+ - Google Chrome - Required for in-app browser testing functionality
36
+ - **Auto-installed:** GUI libraries and dependencies are automatically installed by APT
37
+
38
+ ### Raspberry Pi OS (APT/Snap)
39
+ - **Required:**
40
+ - ARM64 architecture (aarch64) - Requires 64-bit Raspberry Pi OS; verify with `uname -m`
41
+ - `curl` - Install via `sudo apt-get install -y curl` (usually pre-installed)
42
+ - `gpg` - Install via `sudo apt-get install -y gpg` (usually pre-installed)
43
+ - `apt-transport-https` - Install via `sudo apt-get install -y apt-transport-https`
44
+ - `sudo` privileges - Required for package installation
45
+ - glibc >= 2.28 - Raspberry Pi OS Bullseye (11) and later meet this requirement
46
+ - **Optional:**
47
+ - Google Chrome for ARM64 - Required for in-app browser testing functionality
48
+ - **Auto-installed:** GUI libraries and dependencies are automatically installed by APT
49
+
50
+ ### Amazon Linux (DNF/YUM)
51
+ - **Required:**
52
+ - `curl` - Install via `sudo dnf install -y curl` (usually pre-installed)
53
+ - `dnf` (Amazon Linux 2023, RHEL 8+) or `yum` (Amazon Linux 2) - Pre-installed
54
+ - `sudo` privileges - Required for package installation
55
+ - glibc >= 2.28 - Amazon Linux 2023 meets this requirement; Amazon Linux 2 may require updates
56
+ - **Optional:**
57
+ - Desktop environment - Install via `sudo dnf groupinstall -y "Server with GUI"` (Antigravity is a GUI application)
58
+ - Google Chrome - Required for in-app browser testing functionality
59
+ - **Auto-installed:** X11 libraries and dependencies are automatically installed by DNF/YUM
60
+
61
+ ### Windows (Chocolatey/winget)
62
+ - **Required:**
63
+ - `winget` - Pre-installed on Windows 10 version 1809+ and Windows 11; install from Microsoft Store via "App Installer" if missing
64
+ - Windows 10 or Windows 11 (64-bit)
65
+ - **Optional:**
66
+ - Google Chrome - Required for in-app browser testing functionality (usually pre-installed or easily obtained)
67
+ - **Auto-installed:** Visual C++ Redistributables (if required and not already present)
68
+
69
+ ### Git Bash (Manual/Portable)
70
+ - **Required:**
71
+ - `winget.exe` - Pre-installed on Windows 10 version 1809+ and Windows 11; accessible from Git Bash as `winget.exe`
72
+ - Git for Windows - Download from https://git-scm.com/downloads/win (provides Git Bash environment)
73
+ - **Optional:** None
74
+ - **Auto-installed:** None (Git Bash inherits the Windows PATH and accesses the Windows Antigravity installation directly)
75
+
76
+ ## Prerequisites
77
+
78
+ Before installing Google Antigravity on any platform, ensure:
79
+
80
+ 1. **Internet connectivity** - Required for downloading and for all AI-powered features
81
+ 2. **Google Account** - Required for authentication and accessing Gemini 3 Pro features
82
+ 3. **Sufficient disk space** - At least 2 GB available
83
+ 4. **Minimum RAM** - 8 GB RAM minimum, 16 GB recommended
84
+ 5. **64-bit processor** - Required on all platforms
85
+ 6. **Administrative privileges** - Required on most platforms for installation
86
+
87
+ ## Platform-Specific Installation
88
+
89
+ ### macOS (Homebrew)
90
+
91
+ #### Prerequisites
92
+
93
+ - macOS 11 (Big Sur) or later
94
+ - Homebrew package manager installed
95
+ - Apple Silicon (M1/M2/M3/M4) or Intel processor (both x64 and ARM64 supported)
96
+ - Terminal access
97
+
98
+ If Homebrew is not installed, install it first:
99
+
100
+ ```bash
101
+ NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
102
+ ```
103
+
104
+ #### Installation Steps
105
+
106
+ Run the following command to install Google Antigravity via Homebrew:
107
+
108
+ ```bash
109
+ brew install --cask --quiet antigravity
110
+ ```
111
+
112
+ The `--cask` flag indicates this is a macOS application (not a command-line formula), and `--quiet` suppresses non-essential output for automation compatibility.
113
+
114
+ After installation, Antigravity is available in `/Applications/Antigravity.app` and can be launched from Spotlight or the Applications folder.
115
+
116
+ #### Verification
117
+
118
+ Confirm the installation succeeded by checking that the application exists:
119
+
120
+ ```bash
121
+ ls /Applications/Antigravity.app
122
+ ```
123
+
124
+ Expected output:
125
+
126
+ ```
127
+ /Applications/Antigravity.app
128
+ ```
129
+
130
+ Launch Antigravity:
131
+
132
+ ```bash
133
+ open -a Antigravity
134
+ ```
135
+
136
+ Verify the CLI command is available (after first launch and signing in):
137
+
138
+ ```bash
139
+ antigravity --version
140
+ ```
141
+
142
+ Or use the alternate command name:
143
+
144
+ ```bash
145
+ agy --version
146
+ ```
147
+
148
+ #### Troubleshooting
149
+
150
+ **Problem**: `brew: command not found`
151
+
152
+ **Solution**: Homebrew is not installed or not in PATH. Install Homebrew or add it to your PATH:
153
+
154
+ For Apple Silicon Macs:
155
+
156
+ ```bash
157
+ eval "$(/opt/homebrew/bin/brew shellenv)"
158
+ ```
159
+
160
+ For Intel Macs:
161
+
162
+ ```bash
163
+ eval "$(/usr/local/bin/brew shellenv)"
164
+ ```
165
+
166
+ **Problem**: Installation fails with "Cask 'antigravity' is unavailable"
167
+
168
+ **Solution**: Update Homebrew to get the latest cask definitions:
169
+
170
+ ```bash
171
+ brew update
172
+ brew install --cask --quiet antigravity
173
+ ```
174
+
175
+ **Problem**: App shows "Antigravity can't be opened because Apple cannot check it for malicious software"
176
+
177
+ **Solution**: This can occur on first launch. Right-click the app in Applications and select "Open", then click "Open" in the dialog. Alternatively, clear the quarantine flag:
178
+
179
+ ```bash
180
+ xattr -cr /Applications/Antigravity.app
181
+ ```
182
+
183
+ **Problem**: `antigravity` or `agy` command not found in terminal
184
+
185
+ **Solution**: Open Antigravity, then press `Cmd+Shift+P` to open the Command Palette. Type "Shell Command: Install 'antigravity' command in PATH" and select it.
186
+
187
+ ---
188
+
189
+ ### Ubuntu/Debian (APT)
190
+
191
+ #### Prerequisites
192
+
193
+ - Ubuntu 20.04 (Focal) or later, or Debian 10 (Buster) or later (64-bit)
194
+ - glibc >= 2.28 and glibcxx >= 3.4.25 (met by Ubuntu 20.04+, Debian 10+)
195
+ - sudo privileges
196
+ - Active internet connection
197
+
198
+ #### Installation Steps
199
+
200
+ **Step 1: Install prerequisites**
201
+
202
+ ```bash
203
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
204
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y curl gpg apt-transport-https
205
+ ```
206
+
207
+ **Step 2: Add Google's GPG key and repository**
208
+
209
+ ```bash
210
+ sudo mkdir -p /etc/apt/keyrings
211
+ curl -fsSL https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/antigravity-repo-key.gpg
212
+ echo "deb [signed-by=/etc/apt/keyrings/antigravity-repo-key.gpg] https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev/ antigravity-debian main" | sudo tee /etc/apt/sources.list.d/antigravity.list > /dev/null
213
+ ```
214
+
215
+ **Step 3: Install Antigravity**
216
+
217
+ ```bash
218
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
219
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y antigravity
220
+ ```
221
+
222
+ The `DEBIAN_FRONTEND=noninteractive` environment variable and `-y` flag ensure fully automated installation with no prompts.
223
+
224
+ After installation, Antigravity is available in your application menu and can be launched from the terminal with the `antigravity` or `agy` command.
225
+
226
+ #### Verification
227
+
228
+ Confirm the installation succeeded:
229
+
230
+ ```bash
231
+ antigravity --version
232
+ ```
233
+
234
+ Or using the short alias:
235
+
236
+ ```bash
237
+ agy --version
238
+ ```
239
+
240
+ Verify the package is installed:
241
+
242
+ ```bash
243
+ dpkg -l | grep antigravity
244
+ ```
245
+
246
+ Launch Antigravity:
247
+
248
+ ```bash
249
+ antigravity
250
+ ```
251
+
252
+ #### Troubleshooting
253
+
254
+ **Problem**: `E: Unable to locate package antigravity`
255
+
256
+ **Solution**: The repository was not added correctly. Verify the sources file exists and has correct content:
257
+
258
+ ```bash
259
+ cat /etc/apt/sources.list.d/antigravity.list
260
+ ```
261
+
262
+ If missing or malformed, repeat Steps 1 and 2.
263
+
264
+ **Problem**: GPG key import fails with permission errors
265
+
266
+ **Solution**: Ensure the keyrings directory exists and has proper permissions:
267
+
268
+ ```bash
269
+ sudo mkdir -p /etc/apt/keyrings
270
+ curl -fsSL https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/antigravity-repo-key.gpg
271
+ sudo chmod 644 /etc/apt/keyrings/antigravity-repo-key.gpg
272
+ ```
273
+
274
+ **Problem**: Antigravity does not launch on headless server
275
+
276
+ **Solution**: Antigravity is a GUI application and requires a graphical display. For headless servers, use X11 forwarding:
277
+
278
+ ```bash
279
+ ssh -X user@server
280
+ antigravity
281
+ ```
282
+
283
+ Or install a desktop environment.
284
+
285
+ **Problem**: Dependency errors during installation
286
+
287
+ **Solution**: Ensure your system meets the minimum glibc (>= 2.28) and glibcxx (>= 3.4.25) requirements:
288
+
289
+ ```bash
290
+ ldd --version
291
+ ```
292
+
293
+ On Ubuntu/Debian, update all packages before installing:
294
+
295
+ ```bash
296
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
297
+ sudo DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
298
+ ```
299
+
300
+ ---
301
+
302
+ ### Raspberry Pi OS (APT)
303
+
304
+ #### Prerequisites
305
+
306
+ - Raspberry Pi OS (64-bit) - ARM64/aarch64 architecture **required**
307
+ - Raspberry Pi 4 or later with 4 GB or more RAM recommended (8 GB strongly recommended for AI workloads)
308
+ - Raspberry Pi OS Bullseye (11) or later
309
+ - sudo privileges
310
+ - Active internet connection
311
+
312
+ **Critical Architecture Requirement**: Antigravity requires a 64-bit operating system. Verify your architecture:
313
+
314
+ ```bash
315
+ uname -m
316
+ ```
317
+
318
+ This must output `aarch64`. If it outputs `armv7l`, you are running 32-bit Raspberry Pi OS and must install the 64-bit version from the Raspberry Pi Imager.
319
+
320
+ #### Installation Steps
321
+
322
+ **Step 1: Install prerequisites**
323
+
324
+ ```bash
325
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
326
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y curl gpg apt-transport-https
327
+ ```
328
+
329
+ **Step 2: Add Google's GPG key and repository**
330
+
331
+ ```bash
332
+ sudo mkdir -p /etc/apt/keyrings
333
+ curl -fsSL https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/antigravity-repo-key.gpg
334
+ echo "deb [signed-by=/etc/apt/keyrings/antigravity-repo-key.gpg arch=arm64] https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev/ antigravity-debian main" | sudo tee /etc/apt/sources.list.d/antigravity.list > /dev/null
335
+ ```
336
+
337
+ Note the `arch=arm64` specification to ensure the correct ARM64 packages are fetched.
338
+
339
+ **Step 3: Install Antigravity**
340
+
341
+ ```bash
342
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
343
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y antigravity
344
+ ```
345
+
346
+ #### Verification
347
+
348
+ Confirm the installation succeeded:
349
+
350
+ ```bash
351
+ antigravity --version
352
+ ```
353
+
354
+ Or using the short alias:
355
+
356
+ ```bash
357
+ agy --version
358
+ ```
359
+
360
+ Expected output includes the version number and `arm64` architecture indicator.
361
+
362
+ #### Troubleshooting
363
+
364
+ **Problem**: `uname -m` shows `armv7l` instead of `aarch64`
365
+
366
+ **Solution**: You are running 32-bit Raspberry Pi OS. Antigravity requires 64-bit. Download and install the 64-bit Raspberry Pi OS image from https://www.raspberrypi.com/software/.
367
+
368
+ **Problem**: Antigravity is very slow or unresponsive
369
+
370
+ **Solution**: Raspberry Pi has limited resources compared to desktop systems. Ensure you have at least 4 GB RAM (8 GB recommended). Close other applications and consider increasing swap:
371
+
372
+ ```bash
373
+ sudo dphys-swapfile swapoff
374
+ sudo sed -i 's/CONF_SWAPSIZE=.*/CONF_SWAPSIZE=4096/' /etc/dphys-swapfile
375
+ sudo dphys-swapfile setup
376
+ sudo dphys-swapfile swapon
377
+ ```
378
+
379
+ **Problem**: Out of memory errors during AI operations
380
+
381
+ **Solution**: The AI features are computationally intensive. Monitor memory usage and close unnecessary applications:
382
+
383
+ ```bash
384
+ free -h
385
+ ```
386
+
387
+ Consider disabling some AI features or using a machine with more RAM for heavy AI workloads.
388
+
389
+ **Problem**: Display issues on Wayland
390
+
391
+ **Solution**: If you experience rendering issues on Wayland, try running with X11:
392
+
393
+ ```bash
394
+ GDK_BACKEND=x11 antigravity
395
+ ```
396
+
397
+ ---
398
+
399
+ ### Amazon Linux/RHEL (DNF/YUM)
400
+
401
+ #### Prerequisites
402
+
403
+ - Amazon Linux 2023 (AL2023), RHEL 8+, Fedora 36+, or CentOS Stream 8+
404
+ - glibc >= 2.28 (Amazon Linux 2023, RHEL 8+, Fedora 36+ meet this requirement)
405
+ - sudo privileges
406
+ - Active internet connection
407
+ - Desktop environment (Antigravity is a GUI application)
408
+
409
+ **Note**: Amazon Linux 2023 uses DNF as the package manager. RHEL 8+ and Fedora also use DNF. This guide uses DNF commands.
410
+
411
+ #### Installation Steps
412
+
413
+ **Step 1: Add Google's RPM repository**
414
+
415
+ ```bash
416
+ sudo tee /etc/yum.repos.d/antigravity.repo << 'EOF' > /dev/null
417
+ [antigravity-rpm]
418
+ name=Antigravity RPM Repository
419
+ baseurl=https://us-central1-yum.pkg.dev/projects/antigravity-auto-updater-dev/antigravity-rpm
420
+ enabled=1
421
+ gpgcheck=0
422
+ EOF
423
+ ```
424
+
425
+ **Step 2: Update the package cache and install Antigravity**
426
+
427
+ ```bash
428
+ sudo dnf makecache
429
+ sudo dnf install -y antigravity
430
+ ```
431
+
432
+ The `-y` flag ensures fully automated installation with no prompts.
433
+
434
+ After installation, Antigravity is available in your application menu and can be launched from the terminal with the `antigravity` or `agy` command.
435
+
436
+ #### Verification
437
+
438
+ Confirm the installation succeeded:
439
+
440
+ ```bash
441
+ antigravity --version
442
+ ```
443
+
444
+ Or using the short alias:
445
+
446
+ ```bash
447
+ agy --version
448
+ ```
449
+
450
+ Verify the package is installed:
451
+
452
+ ```bash
453
+ rpm -qi antigravity
454
+ ```
455
+
456
+ #### Troubleshooting
457
+
458
+ **Problem**: `No package antigravity available`
459
+
460
+ **Solution**: The repository was not added correctly. Verify the repo file:
461
+
462
+ ```bash
463
+ cat /etc/yum.repos.d/antigravity.repo
464
+ ```
465
+
466
+ Ensure it contains the `[antigravity-rpm]` section with the correct baseurl. Then refresh:
467
+
468
+ ```bash
469
+ sudo dnf clean all
470
+ sudo dnf makecache
471
+ ```
472
+
473
+ **Problem**: Dependency conflicts during installation
474
+
475
+ **Solution**: Ensure your system packages are current:
476
+
477
+ ```bash
478
+ sudo dnf upgrade -y
479
+ ```
480
+
481
+ If conflicts persist, try installing with `--allowerasing`:
482
+
483
+ ```bash
484
+ sudo dnf install -y --allowerasing antigravity
485
+ ```
486
+
487
+ **Problem**: Antigravity fails to launch with display errors
488
+
489
+ **Solution**: Antigravity requires a graphical display. For remote servers, use X11 forwarding:
490
+
491
+ ```bash
492
+ ssh -X user@server
493
+ antigravity
494
+ ```
495
+
496
+ Or install a desktop environment:
497
+
498
+ ```bash
499
+ sudo dnf groupinstall -y "Server with GUI"
500
+ ```
501
+
502
+ **Problem**: SELinux blocking execution
503
+
504
+ **Solution**: Check the audit log for SELinux denials:
505
+
506
+ ```bash
507
+ sudo ausearch -m avc -ts recent
508
+ ```
509
+
510
+ For testing, you can temporarily set SELinux to permissive mode:
511
+
512
+ ```bash
513
+ sudo setenforce 0
514
+ ```
515
+
516
+ **Note**: This is temporary and resets on reboot. For production, create a proper SELinux policy.
517
+
518
+ ---
519
+
520
+ ### Windows (winget)
521
+
522
+ #### Prerequisites
523
+
524
+ - Windows 10 version 1809 or later (64-bit), or Windows 11
525
+ - winget package manager (pre-installed on Windows 10 1809+ and Windows 11)
526
+ - Administrator privileges recommended
527
+ - Active internet connection
528
+
529
+ Verify winget is available:
530
+
531
+ ```powershell
532
+ winget --version
533
+ ```
534
+
535
+ If winget is not found, install "App Installer" from the Microsoft Store.
536
+
537
+ #### Installation Steps
538
+
539
+ Run the following command in an Administrator PowerShell or Command Prompt:
540
+
541
+ ```powershell
542
+ winget install --id Google.Antigravity --silent --accept-package-agreements --accept-source-agreements
543
+ ```
544
+
545
+ This command:
546
+ - `--id Google.Antigravity` - Specifies the Antigravity package
547
+ - `--silent` - Runs without user prompts
548
+ - `--accept-package-agreements` - Automatically accepts package license agreements
549
+ - `--accept-source-agreements` - Automatically accepts source license agreements
550
+
551
+ **Alternative Method: Chocolatey**
552
+
553
+ If Chocolatey is installed, you can use:
554
+
555
+ ```powershell
556
+ choco install antigravity -y
557
+ ```
558
+
559
+ The `-y` flag automatically confirms the installation without prompts.
560
+
561
+ After installation, close and reopen your terminal for PATH updates to take effect. Antigravity can be launched from the Start Menu or by typing `antigravity` in the terminal.
562
+
563
+ #### Verification
564
+
565
+ Open a new PowerShell or Command Prompt window, then verify the installation:
566
+
567
+ ```powershell
568
+ winget list --id Google.Antigravity
569
+ ```
570
+
571
+ Or check the version:
572
+
573
+ ```powershell
574
+ antigravity --version
575
+ ```
576
+
577
+ Or using the short alias:
578
+
579
+ ```powershell
580
+ agy --version
581
+ ```
582
+
583
+ Alternatively, search for "Antigravity" in the Start Menu and launch it.
584
+
585
+ #### Troubleshooting
586
+
587
+ **Problem**: `winget: The term 'winget' is not recognized`
588
+
589
+ **Solution**: winget may not be installed or PATH may not be updated. Install App Installer from the Microsoft Store:
590
+
591
+ ```powershell
592
+ start ms-windows-store://pdp/?productid=9NBLGGH4NNS1
593
+ ```
594
+
595
+ After installation, open a new terminal window.
596
+
597
+ **Problem**: Installation fails with "Administrator privileges required"
598
+
599
+ **Solution**: Right-click PowerShell or Command Prompt and select "Run as administrator", then retry the installation command.
600
+
601
+ **Problem**: `antigravity: command not found` after installation
602
+
603
+ **Solution**: The PATH has not been updated. Close and reopen your terminal. If the problem persists, launch Antigravity from the Start Menu, then use the Command Palette (`Ctrl+Shift+P`) and run "Shell Command: Install 'antigravity' command in PATH".
604
+
605
+ **Problem**: Windows Defender SmartScreen blocks the installer
606
+
607
+ **Solution**: Antigravity is a legitimate application from Google. Click "More info" and then "Run anyway". For enterprise environments, contact your IT administrator to whitelist the Antigravity installer.
608
+
609
+ ---
610
+
611
+ ### Windows (Chocolatey)
612
+
613
+ #### Prerequisites
614
+
615
+ - Windows 10 or later (64-bit), or Windows 11
616
+ - Chocolatey package manager installed
617
+ - Administrator privileges
618
+
619
+ If Chocolatey is not installed, install it by running this command in an Administrator PowerShell:
620
+
621
+ ```powershell
622
+ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
623
+ ```
624
+
625
+ #### Installation Steps
626
+
627
+ Run the following command in an Administrator PowerShell or Command Prompt:
628
+
629
+ ```powershell
630
+ choco install antigravity -y
631
+ ```
632
+
633
+ The `-y` flag automatically confirms all prompts, enabling fully non-interactive installation.
634
+
635
+ After installation, close and reopen your terminal for PATH updates to take effect.
636
+
637
+ #### Verification
638
+
639
+ Open a new PowerShell or Command Prompt window, then verify:
640
+
641
+ ```powershell
642
+ choco list --local-only | findstr antigravity
643
+ ```
644
+
645
+ Or check the version:
646
+
647
+ ```powershell
648
+ antigravity --version
649
+ ```
650
+
651
+ #### Troubleshooting
652
+
653
+ **Problem**: `choco: The term 'choco' is not recognized`
654
+
655
+ **Solution**: Chocolatey is not installed or not in PATH. Install Chocolatey using the command in the Prerequisites section, then open a new terminal window.
656
+
657
+ **Problem**: Package not found
658
+
659
+ **Solution**: Update Chocolatey sources:
660
+
661
+ ```powershell
662
+ choco upgrade chocolatey -y
663
+ choco install antigravity -y
664
+ ```
665
+
666
+ ---
667
+
668
+ ### WSL (Ubuntu)
669
+
670
+ #### Prerequisites
671
+
672
+ - Windows 10 version 2004 or later, or Windows 11
673
+ - Windows Subsystem for Linux installed with Ubuntu distribution
674
+ - WSL 2 recommended for best performance
675
+ - Antigravity installed on Windows (see Windows section above)
676
+
677
+ **Important**: Antigravity runs on Windows and connects to WSL using remote development capabilities (similar to VS Code). You do not install Antigravity inside WSL itself. Instead, install Antigravity on Windows and use its remote development features to connect to your WSL environment.
678
+
679
+ Verify WSL is installed and running Ubuntu:
680
+
681
+ ```bash
682
+ wsl --list --verbose
683
+ ```
684
+
685
+ #### Installation Steps
686
+
687
+ **Step 1: Install Antigravity on Windows**
688
+
689
+ From PowerShell (as Administrator):
690
+
691
+ ```powershell
692
+ winget install --id Google.Antigravity --silent --accept-package-agreements --accept-source-agreements
693
+ ```
694
+
695
+ **Step 2: Configure WSL PATH (Optional)**
696
+
697
+ To launch Antigravity from within WSL using the `agy` command, the Windows Antigravity installation should be accessible via interop. WSL automatically provides access to Windows executables.
698
+
699
+ Test if the command is available:
700
+
701
+ ```bash
702
+ agy.exe --version
703
+ ```
704
+
705
+ If not available, add the Windows Antigravity installation to your WSL PATH. Add this line to your `~/.bashrc` or `~/.zshrc` in WSL:
706
+
707
+ ```bash
708
+ echo 'export PATH="$PATH:/mnt/c/Users/$(cmd.exe /c echo %USERNAME% 2>/dev/null | tr -d '\r')/AppData/Local/Programs/Antigravity/resources/app/bin"' >> ~/.bashrc && source ~/.bashrc
709
+ ```
710
+
711
+ **Step 3: Connect to WSL from Antigravity**
712
+
713
+ 1. Launch Antigravity on Windows
714
+ 2. Click the green icon in the bottom-left corner (shows "><" or "Remote")
715
+ 3. Select "Connect to WSL" from the menu
716
+ 4. Choose your Ubuntu distribution from the list
717
+ 5. Antigravity installs the necessary server components in WSL (first connection may take a few minutes)
718
+
719
+ After connecting, you can open folders and files within your WSL filesystem directly from Antigravity.
720
+
721
+ #### Verification
722
+
723
+ From within WSL, verify you can launch Antigravity (after PATH configuration):
724
+
725
+ ```bash
726
+ agy.exe --version
727
+ ```
728
+
729
+ Or from Windows, verify Antigravity can connect to WSL:
730
+
731
+ 1. Open Antigravity
732
+ 2. Press `Ctrl+Shift+P` to open the Command Palette
733
+ 3. Type "Remote-WSL: New Window" and select it
734
+ 4. Verify Antigravity opens with a WSL connection (indicated in the bottom-left corner)
735
+
736
+ #### Troubleshooting
737
+
738
+ **Problem**: `agy.exe: command not found` in WSL
739
+
740
+ **Solution**: WSL interop may be disabled or the PATH is not configured. Check if interop is enabled:
741
+
742
+ ```bash
743
+ cat /proc/sys/fs/binfmt_misc/WSLInterop
744
+ ```
745
+
746
+ If disabled, enable it in `/etc/wsl.conf`:
747
+
748
+ ```bash
749
+ echo -e "[interop]\nenabled=true\nappendWindowsPath=true" | sudo tee /etc/wsl.conf
750
+ ```
751
+
752
+ Then restart WSL from PowerShell:
753
+
754
+ ```powershell
755
+ wsl --shutdown
756
+ wsl
757
+ ```
758
+
759
+ **Problem**: Cannot connect to WSL from Antigravity
760
+
761
+ **Solution**: Ensure WSL 2 is installed and your distribution is running:
762
+
763
+ ```powershell
764
+ wsl --set-default-version 2
765
+ wsl --install -d Ubuntu
766
+ ```
767
+
768
+ Restart WSL:
769
+
770
+ ```powershell
771
+ wsl --shutdown
772
+ wsl
773
+ ```
774
+
775
+ **Problem**: Slow file access when working with Windows files from WSL
776
+
777
+ **Solution**: WSL has slower performance when accessing files on the Windows filesystem (`/mnt/c/`). For best performance, keep your projects within the WSL filesystem (`~/projects/` or similar).
778
+
779
+ ---
780
+
781
+ ### Git Bash (Windows)
782
+
783
+ #### Prerequisites
784
+
785
+ - Windows 10 or later (64-bit)
786
+ - Git for Windows installed (provides Git Bash)
787
+ - PowerShell available (for initial installation)
788
+
789
+ Git Bash provides a Unix-compatible environment on Windows. Since Antigravity is a Windows application, it is installed on Windows and accessible from Git Bash.
790
+
791
+ Download Git for Windows from https://git-scm.com/downloads/win if not already installed.
792
+
793
+ #### Installation Steps
794
+
795
+ Git Bash can execute Windows commands, so use winget from within Git Bash:
796
+
797
+ ```bash
798
+ winget.exe install --id Google.Antigravity --silent --accept-package-agreements --accept-source-agreements
799
+ ```
800
+
801
+ **Alternative: Use PowerShell from Git Bash**
802
+
803
+ ```bash
804
+ powershell.exe -Command "winget install --id Google.Antigravity --silent --accept-package-agreements --accept-source-agreements"
805
+ ```
806
+
807
+ **Alternative: Use Chocolatey from Git Bash**
808
+
809
+ ```bash
810
+ choco.exe install antigravity -y
811
+ ```
812
+
813
+ After installation, close and reopen Git Bash for PATH updates to take effect.
814
+
815
+ #### Verification
816
+
817
+ Open a new Git Bash window and run:
818
+
819
+ ```bash
820
+ antigravity --version
821
+ ```
822
+
823
+ Or using the short alias:
824
+
825
+ ```bash
826
+ agy --version
827
+ ```
828
+
829
+ Or launch Antigravity:
830
+
831
+ ```bash
832
+ antigravity
833
+ ```
834
+
835
+ If the antigravity command is not available, launch via Windows:
836
+
837
+ ```bash
838
+ cmd.exe /c start "" "Antigravity"
839
+ ```
840
+
841
+ #### Troubleshooting
842
+
843
+ **Problem**: `winget.exe: command not found`
844
+
845
+ **Solution**: Winget may not be in the Git Bash PATH. Use the full path:
846
+
847
+ ```bash
848
+ "/c/Users/$USER/AppData/Local/Microsoft/WindowsApps/winget.exe" install --id Google.Antigravity --silent --accept-package-agreements --accept-source-agreements
849
+ ```
850
+
851
+ **Problem**: `antigravity: command not found` after installation
852
+
853
+ **Solution**: The PATH in Git Bash may not include the Antigravity binary. Add it manually:
854
+
855
+ ```bash
856
+ echo 'export PATH="$PATH:/c/Users/$USER/AppData/Local/Programs/Antigravity/resources/app/bin"' >> ~/.bashrc
857
+ source ~/.bashrc
858
+ ```
859
+
860
+ **Problem**: PowerShell command fails from Git Bash
861
+
862
+ **Solution**: Ensure PowerShell is accessible. Try using the full path:
863
+
864
+ ```bash
865
+ "/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe" -Command "winget install --id Google.Antigravity --silent --accept-package-agreements --accept-source-agreements"
866
+ ```
867
+
868
+ **Problem**: Cannot launch Antigravity from Git Bash
869
+
870
+ **Solution**: Use the Windows `start` command through cmd:
871
+
872
+ ```bash
873
+ cmd.exe /c start "" "Antigravity"
874
+ ```
875
+
876
+ Or open directly using the Windows path:
877
+
878
+ ```bash
879
+ "/c/Users/$USER/AppData/Local/Programs/Antigravity/Antigravity.exe" &
880
+ ```
881
+
882
+ ---
883
+
884
+ ## Post-Installation Configuration
885
+
886
+ ### First-Time Setup
887
+
888
+ After installing and launching Antigravity on any platform:
889
+
890
+ 1. **Sign in with Google Account** - Required to activate Gemini 3 Pro features and sync settings
891
+ 2. **Import VS Code Settings** - Antigravity prompts you to import extensions, themes, keybindings, and settings from VS Code or Cursor if detected
892
+ 3. **Choose Workspace Mode** - Select your preferred level of agent automation:
893
+ - **Agent-Driven**: Hands-off mode where agents work autonomously
894
+ - **Review-Driven**: Collaborative mode where you review agent decisions
895
+ 4. **Configure Terminal Permissions** - Choose whether agents can execute terminal commands automatically or require review
896
+ 5. **Install Shell Command** - Use the Command Palette (`Cmd+Shift+P` on macOS, `Ctrl+Shift+P` on Windows/Linux) and run "Shell Command: Install 'antigravity' command in PATH"
897
+
898
+ ### Keyboard Shortcuts
899
+
900
+ Antigravity inherits VS Code keyboard shortcuts and adds AI-specific ones:
901
+
902
+ | Action | macOS | Windows/Linux |
903
+ |--------|-------|---------------|
904
+ | Open Command Palette | Cmd+Shift+P | Ctrl+Shift+P |
905
+ | Toggle Agent Panel | Cmd+L | Ctrl+L |
906
+ | Toggle Terminal | Ctrl+` | Ctrl+` |
907
+ | New Agent Task | Cmd+Shift+A | Ctrl+Shift+A |
908
+ | Accept AI Suggestion | Tab | Tab |
909
+ | New File | Cmd+N | Ctrl+N |
910
+ | Open Folder | Cmd+O | Ctrl+O |
911
+
912
+ ### Configuring Extensions
913
+
914
+ Antigravity supports VS Code extensions. Install extensions via:
915
+
916
+ 1. Open the Extensions view (`Cmd+Shift+X` on macOS, `Ctrl+Shift+X` on Windows/Linux)
917
+ 2. Search for the desired extension
918
+ 3. Click "Install"
919
+
920
+ Popular extensions for development:
921
+ - ESLint (for JavaScript/TypeScript linting)
922
+ - Prettier (for code formatting)
923
+ - GitLens (for enhanced Git integration)
924
+ - Remote - SSH (for remote development)
925
+
926
+ ### Configuring AI Features
927
+
928
+ Antigravity offers multiple AI models and configuration options:
929
+
930
+ 1. Open Settings (`Cmd+,` on macOS, `Ctrl+,` on Windows/Linux)
931
+ 2. Navigate to "AI" or "Antigravity" settings
932
+ 3. Configure:
933
+ - Default AI model (Gemini 3 Pro, Gemini 3 Flash, Claude, etc.)
934
+ - Agent permissions (terminal access, file access, browser access)
935
+ - Context settings (how much code context to include)
936
+ - Privacy settings (what data is sent to AI)
937
+
938
+ ### Setting Default Editor for Git
939
+
940
+ Configure Antigravity as Git's default editor:
941
+
942
+ ```bash
943
+ git config --global core.editor "antigravity --wait"
944
+ ```
945
+
946
+ ---
947
+
948
+ ## Common Issues
949
+
950
+ ### Issue: AI Features Not Working
951
+
952
+ **Symptoms**: AI agents do not respond, or agent panel shows errors.
953
+
954
+ **Solution**:
955
+ 1. Ensure you are signed in with your Google Account
956
+ 2. Check your internet connection
957
+ 3. Verify your Gemini 3 rate limits have not been exceeded
958
+ 4. Check Antigravity status at https://status.antigravity.google/
959
+
960
+ ### Issue: High CPU or Memory Usage
961
+
962
+ **Symptoms**: Antigravity consumes excessive system resources.
963
+
964
+ **Solution**:
965
+ 1. Disable unused extensions (Extensions view > Installed > Disable)
966
+ 2. Close unused editor tabs and agent tasks
967
+ 3. Reduce the number of active agents
968
+ 4. Restart Antigravity to clear cached data
969
+
970
+ ### Issue: Agent Cannot Access Browser
971
+
972
+ **Symptoms**: Browser testing features fail or show errors.
973
+
974
+ **Solution**:
975
+ 1. Ensure Google Chrome is installed on your system
976
+ 2. Check that Chrome is accessible in your PATH
977
+ 3. Verify no other process is blocking Chrome access
978
+ 4. Restart Antigravity
979
+
980
+ ### Issue: Antigravity Cannot Find Installed Packages (Node, Python, etc.)
981
+
982
+ **Symptoms**: Terminal in Antigravity cannot find globally installed packages.
983
+
984
+ **Solution**: Antigravity may not inherit your shell's PATH. Add this to your shell configuration:
985
+
986
+ For macOS/Linux (`~/.bashrc` or `~/.zshrc`):
987
+
988
+ ```bash
989
+ export PATH="$PATH:/usr/local/bin:/opt/homebrew/bin"
990
+ ```
991
+
992
+ Restart Antigravity after modifying shell configuration.
993
+
994
+ ### Issue: Git Integration Not Working
995
+
996
+ **Symptoms**: Git status, diff, or other features do not work.
997
+
998
+ **Solution**:
999
+ 1. Ensure Git is installed and in your PATH
1000
+ 2. Open a terminal in Antigravity and run `git --version`
1001
+ 3. If Git is not found, install it or add it to your PATH
1002
+ 4. Configure Git user identity if prompted:
1003
+
1004
+ ```bash
1005
+ git config --global user.name "Your Name"
1006
+ git config --global user.email "your.email@example.com"
1007
+ ```
1008
+
1009
+ ---
1010
+
1011
+ ## Uninstallation
1012
+
1013
+ ### macOS
1014
+
1015
+ ```bash
1016
+ brew uninstall --cask antigravity
1017
+ rm -rf ~/Library/Application\ Support/Antigravity
1018
+ rm -rf ~/Library/Caches/Antigravity
1019
+ ```
1020
+
1021
+ ### Ubuntu/Debian
1022
+
1023
+ ```bash
1024
+ sudo DEBIAN_FRONTEND=noninteractive apt-get remove -y antigravity
1025
+ sudo rm -f /etc/apt/sources.list.d/antigravity.list
1026
+ sudo rm -f /etc/apt/keyrings/antigravity-repo-key.gpg
1027
+ rm -rf ~/.config/Antigravity
1028
+ rm -rf ~/.cache/Antigravity
1029
+ ```
1030
+
1031
+ ### Amazon Linux/RHEL
1032
+
1033
+ ```bash
1034
+ sudo dnf remove -y antigravity
1035
+ sudo rm -f /etc/yum.repos.d/antigravity.repo
1036
+ rm -rf ~/.config/Antigravity
1037
+ rm -rf ~/.cache/Antigravity
1038
+ ```
1039
+
1040
+ ### Windows
1041
+
1042
+ Using winget:
1043
+
1044
+ ```powershell
1045
+ winget uninstall --id Google.Antigravity --silent
1046
+ ```
1047
+
1048
+ Using Chocolatey:
1049
+
1050
+ ```powershell
1051
+ choco uninstall antigravity -y
1052
+ ```
1053
+
1054
+ Remove user data (PowerShell):
1055
+
1056
+ ```powershell
1057
+ Remove-Item -Path "$env:APPDATA\Antigravity" -Recurse -Force
1058
+ Remove-Item -Path "$env:LOCALAPPDATA\Antigravity" -Recurse -Force
1059
+ ```
1060
+
1061
+ ---
1062
+
1063
+ ## References
1064
+
1065
+ - [Google Antigravity Official Website](https://antigravity.google/)
1066
+ - [Google Antigravity Download Page](https://antigravity.google/download)
1067
+ - [Google Developers Blog - Antigravity Announcement](https://developers.googleblog.com/build-with-google-antigravity-our-new-agentic-development-platform/)
1068
+ - [Getting Started with Google Antigravity - Google Codelabs](https://codelabs.developers.google.com/getting-started-google-antigravity)
1069
+ - [Google Antigravity Documentation](https://antigravity.google/docs)
1070
+ - [Google Antigravity CLI Documentation](https://antigravity.google/docs/command)
1071
+ - [Antigravity Homebrew Cask](https://formulae.brew.sh/cask/antigravity)
1072
+ - [Antigravity Chocolatey Package](https://push.chocolatey.org/packages/antigravity)
1073
+ - [Antigravity winget Package](https://winstall.app/apps/Google.Antigravity)
1074
+ - [Google Antigravity Linux Download](https://antigravity.google/download/linux)
1075
+ - [Google Antigravity Wikipedia](https://en.wikipedia.org/wiki/Google_Antigravity)