Uninstalling Antigravity is usually triggered by a handful of things: a switch to Cursor, Windsurf, or VS Code with Copilot, preview-grade bugs, or a need to free up disk space.
Antigravity is Google’s agentic IDE, which comes in two forms: a desktop app and a command-line tool. That split is the first thing to understand before removing an app:
- Antigravity GUI: installed via a .dmg file from the official site or brew cask command,
- Antigravity CLI: installed via the curl install script or brew install command, and
- They have different install paths, different leftover files, and different removal steps.
This guide covers both cases. By the time you finish it, you’ll have three ways to remove the Antigravity desktop app, two ways to remove the Antigravity CLI, depending on how you installed it, and the full list of hidden files each one leaves behind if you stop halfway.
Why moving Antigravity to Trash isn’t okay
Moving the Antigravity app to Trash removes the app bundle from the Applications folder, and nothing more. Project state, agent history, caches, and preferences stay behind in Library’s invisible folders, and a background helper process can keep the menu bar icon alive well after the app itself is gone.
brew uninstall –cask antigravity
Copy
Note:
Before you start deleting files, force quit first. Users on Google’s dev forum report the app’s process or menu bar icon sticking around after a normal quit. Use Activity Monitor, or run
pkill -f antigravity
Copy
What Antigravity leaves behind on Mac
Since removing an AI tool like Antigravity should be complete, I dived into every detail and directory. I split this by GUI and CLI versions and identified every path below using:
- Antigravity GUI v.2.9.1.
- Antigravity CLI 1.1.22.
I tested those on a MacBook Pro, Apple M1, 8 GB RAM, macOS Tahoe 26.4.1.
| Path | What it is | Hidden? | Created by |
|---|---|---|---|
Copy |
The app bundle itself | No | GUI |
Copy |
Project state, agent history, verification artifacts, auth tokens | Yes | GUI |
Copy |
Agent cache, temporary model files | Yes | GUI |
Copy |
Cache for the built-in Sparkle/ShipIt updater | Yes | GUI |
Copy |
System temp files, unique for each user | Yes | GUI |
Copy |
User preferences | Yes | GUI |
Copy |
Host-specific updater settings; the UUID is unique per Mac; search by the com.google.antigravity prefix | Yes | GUI |
Copy |
App logs | Yes | GUI |
Copy |
Cookies and HTTP cache for the app’s embedded browser engine | Yes | GUI |
Copy |
Finder’s recent-documents record for the app | Yes | GUI |
Copy |
Agent tool configs and logs | Yes (dotfile) | GUI |
Copy |
CLI settings and, if you’ve used MCP servers, their configuration | Yes | CLI |
Copy |
Per-project MCP configuration, created the first time you run agy inside that folder | No, but easy to miss | CLI |
Copy |
CLI binary (curl install) | Yes | CLI |
Note:
~/.gemini/ is a shared directory used by both Antigravity CLI and the legacy Gemini CLI. Deleting ~/.gemini/ entirely will remove both tools’ settings if both are installed. Always delete only the ~/.gemini/antigravity-cli/ subfolder, not the parent.
Four ways to uninstall Antigravity
| Method | What it removes | Time |
|---|---|---|
| App Cleaner & Uninstaller | GUI app + all Library leftovers in one click | <1 min |
| Finder | GUI app + Library paths manually | ~10-15 min |
| Terminal | Everything: GUI app, CLI binary, configs | ~10-15 min |
| Homebrew | GUI and/or CLI binary + receipt (user data requires manual cleanup) |
~10-15 min |
How to find your way
Before you pick a removal method, find out what’s installed and how it got there.
Check for the Antigravity GUI
- In Terminal: If you get a path back, the desktop app is installed.
ls -d /Applications/Antigravity.app 2>/dev/nullCopy
- In Spotlight: Open Spotlight, type . If it appears under Applications, you have the desktop version.
AntigravityCopy
Check for the Antigravity CLI
Open Terminal and run:
which agy
Copy
- If the output is , you installed it via the curl install script.
/.local/bin/agyCopy
- If the output starts with or
/opt/homebrewCopy
, you installed it with Homebrew./usr/localCopy
- If it says agy not found, no CLI is installed.
Uninstall Antigravity GUI in seconds
If you want the fastest, zero-effort cleanup of the Antigravity GUI and all hidden files, use a special tool, App Cleaner & Uninstaller, to wipe the app and its 10+ hidden Library directories in a few clicks:
- Get App Cleaner & Uninstaller installed → open it.
- Locate Antigravity in the application list → select it.
- Click Uninstall → review the Antigravity file list → finish uninstalling by clicking Remove.
- If Antigravity is still active, App Cleaner & Uninstaller will tell you to quit it right inside the tool, so you can keep going without switching away.
- Empty Trash to complete the removal.
Note:
- If Antigravity was installed via Homebrew, App Cleaner & Uninstaller removes the app files, but the Homebrew receipt remains. Run this command afterward to clean it up:
brew uninstall –cask antigravityCopy
- App Cleaner & Uninstaller finds the GUI app and its leftovers, but not the CLI’s ones. Those need the CLI removal steps below.
Delete Antigravity GUI manually in Finder
This is your way if you don’t mind digging through ~/Library folders yourself and don’t want to install anything extra. These steps also apply to the Antigravity GUI app.
Step 1. Force-quit Antigravity before removing it.
- Press Cmd+Option+Esc → select Antigravity in the list → click Force Quit.
- Alternatively, open Activity Monitor → search for → select all Antigravity processes → click the Stop (×) button.
antigravityCopy
- Alternatively, open Activity Monitor → search for
Step 2: Delete the Antigravity executable file.
- Open Finder → go to Applications.
- Locate and right-click Antigravity → choose Move to Trash.
Step 3: Delete Antigravity’s associated files.
- In Finder, press Cmd+Shift+. to show hidden files.
- Then use the Shift+Cmd+G shortcut to jump to each path below and delete it:
~/Library/Application Support/AntigravityCopy
~/Library/Caches/com.google.antigravityCopy
~/Library/Caches/com.google.antigravity.ShipItCopy
~/Library/Preferences/com.google.antigravity.plistCopy
- → look for a file starting with
~/Library/Preferences/ByHost/Copy
com.google.antigravity.ShipIt.Copy
~/Library/Logs/AntigravityCopy
~/Library/HTTPStorages/com.google.antigravityCopy
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.antigravity.sfl4Copy
- and
~/.antigravityCopy
, if any~/.antigravity_toolsCopy
- Delete the Antigravity temp caches, located in a path unique to your Mac. Using the Go to Folder box again, go to → in the search box, enter
/private/var/folders/Copy
→ make sure the search filter is Folders → move to Trash everything associated with Antigravity. These files shall be as follows:com.google.antigravityCopy
/private/var/folders/21/69gs01gd2xng466w2zvdcwjw0000gn/C/com.google.antigravityCopy
/private/var/folders/21/69gs01gd2xng466w2zvdcwjw0000gn/C/com.google.antigravity.helperCopy
Step 4: Empty Trash.
Remove Antigravity in Terminal
ls -la
Copy
Steps for removing the Antigravity GUI in Terminal
- Force-quit any running Antigravity process first:
pkill -f AntigravityCopy
- Remove the Antigravity app bundle:
sudo rm -rf /Applications/Antigravity.appCopy
If you installed the Antigravity GUI through Homebrew:
brew uninstall –cask antigravityCopy
- Remove the Antigravity data and caches:
Remove the Antigravity data and caches
rm -rf ~/Library/Application\ Support/AntigravityCopy
rm -rf ~/Library/Caches/com.google.antigravityCopy
rm -rf ~/Library/Caches/com.google.antigravity.ShipItCopy
rm -rf ~/Library/Preferences/com.google.antigravity.plistCopy
rm -rf ~/Library/HTTPStorages/com.google.antigravityCopy
rm -rf ~/Library/Logs/AntigravityCopy
rm -f ~/Library/Preferences/ByHost/com.google.antigravity.ShipIt.*.plistCopy
rm -f ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.antigravity.sfl*Copy
- Check and remove Antigravity dotfiles, which are hidden:
Check that they exist before deleting
ls -la ~/.antigravity_toolsCopy
ls -la ~/.antigravityCopy
Only after you make sure this directory exists, remove it:
rm -rf ~/.antigravity_toolsCopy
rm -rf ~/.antigravityCopy
Steps for removing the Antigravity CLI in Terminal
The CLI binary and its config are totally different from the GUI app. Removing Antigravity.app does not remove agy.
If you installed Antigravity CLI via Homebrew
If which agy points to /opt/homebrew/bin or /usr/local/bin, you are likely installed through Homebrew.
- Run the uninstall command:
brew uninstall –cask antigravity-cliCopy
- Homebrew removes the binary and its receipt, but not the user data. Clean those manually:
rm -rf ~/.gemini/antigravity-cliCopy
Note:
~/.gemini is shared with the older Gemini CLI. If you still use Gemini CLI on this Mac, delete only the antigravity-cli subfolder shown above, never the whole ~/.gemini directory.
- Verify the binary is gone:
which agyCopy
If you installed the Antigravity CLI via the official curl script
curl -fsSL https://antigravity.google/cli/install.sh | bash
Copy
- Stop the process if running:
pkill -f agyCopy
- Find the binary location (the default install location is ~/.local/bin/agy) and remove it:
which agyCopy
rm -f ~/.local/bin/agyCopy
- Remove the Antigravity CLI’s config and data:
rm -rf ~/.gemini/antigravity-cliCopy
rm -rf ~/.antigravityCopy
rm -rf ~/.antigravity_toolsCopy
- Clean up your shell profile.
- The installer adds ~/.local/bin to your PATH and, unless you passed –skip-aliases, drops in a few legacy aliases, usually in ~/.zshrc. Find what it added:
grep -n “agy\|antigravity” ~/.zshrc ~/.zprofile ~/.bash_profile ~/.bashrc 2>/dev/nullCopy
- Open the file that contains the match (usually ~/.zshrc on macOS) and delete the block the installer added, typically marked with a comment like # Added by antigravity-cli installer. Then reload your shell:
source ~/.zshrcCopy
- The installer adds ~/.local/bin to your PATH and, unless you passed –skip-aliases, drops in a few legacy aliases, usually in ~/.zshrc. Find what it added:
- Verify complete removal:
which agyCopy
agy –versionCopy
Both commands should come back empty or return ‘command not found.’
Final way to uninstall Antigravity
- Use App Cleaner & Uninstaller if you want to remove the GUI app and avoid digging through hidden Library caches, updater plists, and temporary folders manually.
- Use Finder if you have no CLI tools installed, you are going to delete the GUI, navigate to and move every file to Trash yourself before deleting.
- Choose Terminal if you need to wipe both CLI and the GUI installed with Homebrew in a single sequence of commands, which is something you’re already used to.
- Choose Homebrew only if you originally installed the app through Homebrew, manage all your Mac packages via CLI, and want your package receipts clean.