Antigravity ships as a desktop app and as the agy terminal CLI. They are removed separately and each leaves data behind. This guide covers how to uninstall Antigravity on Mac, Windows and Linux, how to uninstall the CLI, and which folders to delete or keep.
brew uninstall --cask antigravity on Mac, Settings > Apps or winget uninstall --id Google.Antigravity on Windows, delete the extracted folder on Linux). Remove the CLI separately (rm ~/.local/bin/agy). Settings and history survive an uninstall. To remove them, delete ~/.antigravity, ~/.gemini/antigravity and ~/.gemini/antigravity-cli plus the per-OS app data folder listed below. Do not delete all of ~/.gemini if you also use Gemini CLI.Get the latest on AI, LLMs & developer tools
New MCP servers, model updates, and guides like this one — delivered weekly.
Before You Uninstall
Removing the app deletes program files only. Your settings, agent conversations and MCP configuration stay on disk. Decide what you want to keep first.
- Save open work in every Antigravity window, then quit the app completely (Cmd + Q on Mac, or check Task Manager on Windows for leftover
Antigravityprocesses). - Check what you have installed. The App and the CLI are separate installs. Run
agy --versionfor the CLI and look in your Applications folder or Start menu for the App. - Back up anything you want to reuse: global rules and skills, MCP configs, and conversation history under
~/.gemini/antigravity. See Keep or Delete Settings? - Sign out first so credentials are cleared from your OS keyring. See Sign Out and Revoke Google Access.
Back Up Your Settings
Copy your settings to a safe location before uninstalling. The CLI settings file is documented by Google at ~/.gemini/antigravity-cli/settings.json. The App's editor settings file locations below are community-reported (March 2026) and not confirmed in Google's docs, so check that the file exists first:
| Platform | Settings file location (community-reported) |
|---|---|
| macOS | ~/Library/Application Support/Antigravity/User/settings.json |
| Windows | %APPDATA%\Antigravity\User\settings.json |
| Linux | ~/.config/Antigravity/User/settings.json |
Export Your Rules
If you have custom agent rules or .antigravity project files you want to reuse, copy them out of your project directories before uninstalling. The uninstaller does not remove them, but wiping ~/.antigravity or %APPDATA%\Antigravity deletes global rules.
Uninstall Antigravity on macOS
Option A — Homebrew (recommended if you used brew to install)
If you installed with the Homebrew cask method, uninstalling is a single command that removes the app and its Homebrew record:
brew uninstall --cask antigravityThis removes the .app bundle from /Applications and cleans up the Homebrew receipt. To also clear cached downloads managed by Homebrew, run brew cleanup antigravity. See Remove All Leftover Data for user data.
This keeps your data. Homebrew's cask also defines a zap list, so brew uninstall --cask --zap antigravity additionally trashes ~/.antigravity, ~/.gemini/antigravity, ~/Library/Application Support/Antigravity, the two com.google.antigravity cache folders, HTTPStorages, logs, preferences and saved window state. That includes your conversation history under ~/.gemini/antigravity, so back it up first.
Option B — Manual removal (DMG install)
If you installed Antigravity by downloading the .dmg directly:
- Quit Antigravity completely (Cmd + Q or right-click the Dock icon and choose Quit).
- Open Finder > Applications.
- Drag Antigravity.app to the Trash (or choose Move to Bin) and empty it.
- Check System Settings > General > Login Items & Extensions for an Antigravity entry and turn it off if present (community-reported step).
- Delete leftover data using the folder list below. The Terminal commands there remove the application support and cache directories.
Uninstall Antigravity on Windows
Standard removal via Settings
- Quit Antigravity and end any remaining
Antigravity.exeprocesses in Task Manager. - Press Win + I, then go to Apps > Installed apps (Windows 11) or Apps & features (Windows 10).
- Find Antigravity, open the three-dot menu and choose Uninstall.
- Delete leftover data using the folder list below.
Option B: winget
If you installed from the winget package (ID Google.Antigravity, listed in the winget-pkgs repository):
winget uninstall --id Google.AntigravityCommunity testing reports that the uninstaller removes %LOCALAPPDATA%\Programs\antigravity and the shortcuts but leaves %APPDATA%\Antigravity and the .gemini folder in place.
Clean up %APPDATA% manually
The standard uninstaller does not remove user data stored in AppData. Open Run (Win + R), type %APPDATA%, press Enter and delete the Antigravity folder. Or run this in PowerShell as a regular user (no elevation needed):
Remove-Item -Recurse -Force "$env:APPDATA\Antigravity"
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\Antigravity"Also check %LOCALAPPDATA%\Programs\Antigravity for remaining binaries if the uninstaller left artifacts behind, and delete that folder too. Run only the lines whose folder exists.
Uninstall Antigravity on Linux
Google's docs describe one Linux install path for the App: download the .tar.gz (x64 or ARM64), extract it and run ./Antigravity. Anything else (apt, dnf, AUR, helper scripts) comes from a third party, so the removal command depends on which one you used. On a Googlebook, Antigravity is pre-installed and Google says to update or reinstall it through Google Play.
Manual / tarball install (official)
- Quit Antigravity.
- Delete the folder you extracted the archive into.
- Remove any desktop entry or symlink you created yourself, for example
~/.local/share/applications/antigravity.desktop. - Delete leftover data using the folder list below.
Helper-script install into /opt (community-reported)
Some community installers place the app under /opt/antigravity and add a launcher in /usr/local/bin. Check what exists before deleting:
ls -d /opt/antigravity* /usr/local/bin/antigravity* /usr/share/applications/antigravity*.desktop 2>/dev/null
sudo rm -rf /opt/antigravity /opt/antigravity-ide
sudo rm -f /usr/local/bin/antigravity /usr/local/bin/antigravity-ide
sudo rm -f /usr/share/applications/antigravity*.desktop
sudo rm -f /usr/share/icons/hicolor/*/apps/antigravity.pngUbuntu / Debian (APT)
The earlier version of this guide (March 2026) assumed an official Google APT repository. Update (Oct 30, 2026): Google's docs describe only the tar.gz for Linux and I could not find an official Google APT repository, so treat any apt package as third-party. If you did add a repository and installed via apt, remove it with:
sudo apt remove antigravity
# Also remove the repository entry to prevent future updates (file name depends on the source you added):
sudo rm /etc/apt/sources.list.d/google-antigravity.list
sudo apt update
# To purge package-managed config files as well:
sudo apt purge antigravityapt or dnf (third-party repository)
I could not find an official Google apt or dnf repository in Antigravity's docs. If you added a third-party repository, find the package name first, then remove it with your package manager:
# Debian / Ubuntu
dpkg -l | grep -i antigravity
sudo apt remove <package-name>
# Fedora / RHEL
rpm -qa | grep -i antigravity
sudo dnf remove <package-name>Also remove the repository file from /etc/apt/sources.list.d/ or /etc/yum.repos.d/ so it does not come back on the next update.
Arch Linux / AUR
For the Arch Linux install, confirm the package name with pacman -Qs antigravity, then remove it:
sudo pacman -Rns <package-name>If you installed through an AUR helper, uninstall the same way (yay -Rns antigravity or paru -Rns antigravity). The -Rns flags remove the package, its unneeded dependencies and saved configuration files tracked by pacman. If you used a custom install script (for example arch_antigravity_yashuu.sh) or extracted a .tar.gz by hand, remove it manually as described under Manual / tarball install above.
Uninstall Antigravity CLI (agy)
The CLI is a separate install from the App, so removing the App does not remove agy. Google's docs list one install method (the script covered below). Package managers carry it too: Homebrew has an antigravity-cli cask and winget-pkgs has a Google.AntigravityCLI package. Google does not document an uninstall command for the CLI, so script installs are removed manually. For CLI features and install background, see the Antigravity CLI deep dive.
Uninstall agy on macOS and Linux (install script)
- Run
/logoutinsideagyto clear saved credentials, then/exit. - Find the binary with
which agy. Google's default location is~/.local/bin/agy. - Delete it:
rm -f ~/.local/bin/agy, then runhash -rto clear the shell's command cache. - Open
~/.zshrc,~/.bashrcor~/.zprofileand remove thePATHline the installer added for~/.local/bin. The installer hands off toagy installto configure your shell, and Google does not document exactly which files it edits, so check each profile. Leave the line if other tools use that folder. If you installed with--dir, deleteagyfrom that folder instead. - Optional: delete CLI settings, keybindings and the global MCP config with
rm -rf ~/.gemini/antigravity-cli.
Uninstall agy with Homebrew
brew uninstall --cask antigravity-cliThe cask's zap list contains only ~/.gemini/antigravity-cli, so brew uninstall --cask --zap antigravity-cli also removes your CLI settings and global MCP config. Run it only if you want those gone.
Uninstall agy on Windows (winget)
winget uninstall --id Google.AntigravityCLIThe winget manifest installs agy as a portable package, so this removes the binary. It does not touch ~/.gemini/antigravity-cli.
Uninstall agy on Windows (install script)
Google's docs give C:\Users\<you>\AppData\Local\agy\bin as the default binary location for both the PowerShell and CMD installers. Delete that folder and remove it from your user PATH (Settings > System > About > Advanced system settings > Environment Variables). Google's CLI troubleshooting page also mentions C:\Program Files\Google\antigravity-cli as a PATH entry, so check for that folder too.
# PowerShell
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\agy"
# Optional CLI settings. The Windows path is assumed to mirror ~/.gemini; check it exists first.
Remove-Item -Recurse -Force "$env:USERPROFILE\.gemini\antigravity-cli"Remove All Leftover Data: Delete Antigravity Config and Cache Folders
Uninstalling does not remove these. The Source column shows how each path was confirmed. "Homebrew cask" means it is in the official Homebrew cask zap list. "Community" means third-party uninstall tests, so check that a folder exists before you delete it.
macOS — full data wipe
| Path | Holds | Source |
|---|---|---|
~/Library/Application Support/Antigravity | App data and settings | Homebrew cask |
~/.antigravity | Home-directory app data | Homebrew cask |
~/.gemini/antigravity | Antigravity state, conversation history (community-reported contents) | Homebrew cask |
~/Library/Caches/com.google.antigravity and com.google.antigravity.ShipIt | Caches, updater cache | Homebrew cask |
~/Library/HTTPStorages/com.google.antigravity | Embedded browser storage | Homebrew cask |
~/Library/Logs/Antigravity | Logs | Homebrew cask |
~/Library/Preferences/com.google.antigravity.plist and ByHost/com.google.antigravity.ShipIt.*.plist | Preferences | Homebrew cask |
~/Library/Saved Application State/com.google.Antigravity.savedState | Window state | Homebrew cask |
~/.antigravity_tools | Agent tool configs and logs | Community |
rm -rf ~/Library/Application\ Support/Antigravity
rm -rf ~/Library/Caches/com.google.antigravity ~/Library/Caches/com.google.antigravity.ShipIt
rm -rf ~/Library/HTTPStorages/com.google.antigravity
rm -rf ~/Library/Logs/Antigravity
rm -f ~/Library/Preferences/com.google.antigravity.plist
rm -f ~/Library/Preferences/ByHost/com.google.antigravity.ShipIt.*.plist
rm -rf ~/Library/Saved\ Application\ State/com.google.Antigravity.savedState
# Skip these two if you want to keep history and global rules (see "Keep or Delete Settings?"):
rm -rf ~/.antigravity
rm -rf ~/.gemini/antigravityWindows — full data wipe
| Path | Holds | Source |
|---|---|---|
%APPDATA%\Antigravity | Settings, editor state, caches | Community |
%LOCALAPPDATA%\Antigravity-updater | Downloaded update installers | Community |
%LOCALAPPDATA%\Programs\antigravity | Program files, if the uninstaller left any | Community |
%USERPROFILE%\.gemini\antigravity | Antigravity state, conversation history | Community |
%USERPROFILE%\.antigravity | Home-directory app data | Unverified on Windows; delete only if it exists |
# PowerShell. Run only the lines whose folder exists.
Remove-Item -Recurse -Force "$env:APPDATA\Antigravity"
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\Antigravity-updater"
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\Programs\antigravity"
Remove-Item -Recurse -Force "$env:USERPROFILE\.gemini\antigravity"Linux — full data wipe
Google does not publish the Linux data paths for the App. The paths below are community-reported and unverified. List them first and delete only what exists.
ls -d ~/.config/Antigravity ~/.config/antigravity ~/.cache/antigravity ~/.local/share/antigravity ~/.antigravity ~/.gemini/antigravity 2>/dev/null
rm -rf ~/.config/Antigravity ~/.config/antigravity
rm -rf ~/.cache/antigravity ~/.local/share/antigravity
rm -rf ~/.antigravity ~/.gemini/antigravityPer-project files
Project folders can contain a workspace MCP file at .agents/mcp_config.json (created by the CLI) and your own rules files. Uninstalling never touches them. Delete them project by project if you want them gone.
Remove MCP Server Configurations
If you connected MCP servers to Antigravity, their configuration is stored separately from the main app data, and removing the app does not delete it automatically. For the CLI, Google's docs put the global MCP config at ~/.gemini/antigravity-cli/mcp_config.json, with an optional workspace file at .agents/mcp_config.json in each project. Both survive an uninstall.
The earlier version of this guide (March 2026) listed an App-side mcp.json file in the user data directory. These paths are community-reported (March 2026) and not confirmed in Google's docs:
| Platform | MCP config file (community-reported) |
|---|---|
| macOS | ~/Library/Application Support/Antigravity/User/mcp.json |
| Windows | %APPDATA%\Antigravity\User\mcp.json |
| Linux | ~/.config/Antigravity/User/mcp.json |
If you already wiped the app data folder above, the App-side file is covered. Otherwise delete it explicitly, and delete the CLI file if you want the CLI configuration gone:
rm -f ~/.config/Antigravity/User/mcp.json # Linux
rm -f ~/Library/Application\\ Support/Antigravity/User/mcp.json # macOS
rm -f ~/.gemini/antigravity-cli/mcp_config.json # CLI global config (macOS and Linux)If you installed any MCP servers globally (for example with npm install -g @modelcontextprotocol/server-*), those npm packages are independent of Antigravity. Remove them separately with npm uninstall -g <package-name>.
Keep or Delete Antigravity Settings?
| If you want to | Do this |
|---|---|
| Reinstall and pick up where you left off | Uninstall the app only. Leave ~/.gemini/antigravity, ~/.gemini/antigravity-cli and the app data folder alone. |
| Reset a broken setup but keep history | Delete the cache folders and the app data folder. Keep ~/.gemini/antigravity. Google says settings sync between the App and the CLI, so check both afterwards. |
| Remove every trace of Antigravity | Back up what you need, then delete every folder in the tables above, including ~/.gemini/antigravity and ~/.gemini/antigravity-cli. |
| Keep Gemini CLI working | Never delete ~/.gemini itself. It is shared with Gemini CLI. Delete only the antigravity and antigravity-cli subfolders. |
CLI preferences are in ~/.gemini/antigravity-cli/settings.json and custom shortcuts are in ~/.gemini/antigravity-cli/keybindings.json (both from Google's CLI settings docs). Copy these two files out before deleting the folder. The same folder holds the global MCP config, mcp_config.json. For a lighter reset that keeps the install, see reset Antigravity config.
Sign Out and Revoke Google Access
Uninstalling does not sign you out of Google and does not cancel a paid Google AI plan. To disconnect cleanly:
- App: open Settings > Account and choose Sign Out before you uninstall.
- CLI: run
/logoutinsideagy. Google's docs say this disconnects your profile and purges saved tokens from the OS keyring (Apple Keychain, Linux Secret Service, Windows Credential Manager). - If you skipped sign-out: open your OS keyring (Keychain Access, Credential Manager, or Seahorse on Linux), search for
antigravityand delete matching entries. The entry names are not documented, so review each one before deleting. - Google account: review your account's linked apps as described in Google's help page on linked apps. Per that page, removing a link stops sign-in to that app and does not delete data in it. Google's Antigravity docs do not say whether Antigravity appears in that list.
- Subscription: manage or cancel a Google AI Pro or Ultra plan on Google One. Uninstalling does not stop billing.
If you sign in through a Google Cloud project or Application Default Credentials (ADC), revoke or switch those credentials in Google Cloud as well.
Verify Complete Removal: Verify Antigravity Is Removed
macOS
pgrep -il antigravity
ls -d /Applications/Antigravity.app ~/Library/Application\ Support/Antigravity ~/.antigravity ~/.gemini/antigravity 2>&1
which agy
brew list --cask | grep -i antigravityWindows (PowerShell)
Get-Process Antigravity -ErrorAction SilentlyContinue
winget list --id Google.Antigravity
Test-Path "$env:APPDATA\Antigravity"
Test-Path "$env:LOCALAPPDATA\Programs\antigravity"
Get-Command agy -ErrorAction SilentlyContinueLinux
pgrep -il antigravity
ls -d ~/.config/Antigravity ~/.antigravity ~/.gemini/antigravity ~/.gemini/antigravity-cli 2>&1
which agy antigravity"No such file or directory", False or empty output means the item is gone. A surviving ~/.gemini/antigravity is expected if you chose to keep your history. If a process is still listed, quit it and retry. On Windows, a locked file usually means a background process is still running.
Want to Reinstall? Reinstall Antigravity (Clean Install)
- Complete the uninstall steps above and delete the data folders you do not want to carry over.
- App: download the macOS DMG, Windows installer or Linux tar.gz from antigravity.google/download (see also our download page). On Mac you can use the Homebrew install.
- CLI: delete the old
agybinary, then run Google's installer again:curl -fsSL https://antigravity.google/cli/install.sh | bashon macOS and Linux, orirm https://antigravity.google/cli/install.ps1 | iexin Windows PowerShell. The script exits without changing anything ifagyalready exists, so delete the old binary first. Pass--dir <path>to install somewhere else. - Run
agy --versionto confirm, then sign in again.
Download & Reinstall Antigravity
Get the latest release for macOS (Apple Silicon and Intel), Windows, and Linux. The March 2026 version of this guide named v1.20.5 as current. Update (Oct 30, 2026): the official changelog lists Antigravity App v2.28.1 and Antigravity CLI v1.4.11, so check the download page for the latest build.
Download page
macOS via Homebrew
Arch Linux
If sign-in fails after reinstalling, see Antigravity unable to sign in. To control updates after reinstalling, see downgrade and disable auto-update.
Uninstall Antigravity FAQ
How do I uninstall Antigravity?
Quit Antigravity, then remove the app the normal way for your OS: drag Antigravity.app to the Trash (or run brew uninstall --cask antigravity) on macOS, use Settings > Apps > Installed apps (or winget uninstall --id Google.Antigravity) on Windows, and delete the folder you extracted the tar.gz into on Linux. If you also installed the CLI, remove it separately, because removing the app does not remove the agy binary.
Does uninstalling Antigravity delete my settings and conversations?
No. The uninstaller removes program files only. Per Homebrew's cask definition, Antigravity data lives in ~/.antigravity, ~/.gemini/antigravity and ~/Library/Application Support/Antigravity on macOS, and those stay until you delete them. Back up anything you want to keep first.
How do I uninstall the Antigravity CLI (agy)?
If you used the official install script, delete the agy binary (~/.local/bin/agy on macOS and Linux, %LOCALAPPDATA%\agy\bin on Windows) and remove the PATH line the installer added to your shell profile. If you used a package manager, run brew uninstall --cask antigravity-cli (Homebrew) or winget uninstall --id Google.AntigravityCLI (winget). CLI settings live in ~/.gemini/antigravity-cli and are not removed automatically. Google does not document a dedicated uninstall command for the CLI.
Is it safe to delete the whole ~/.gemini folder?
Only if you are sure you do not use Gemini CLI. ~/.gemini is shared with Google's Gemini CLI, and Antigravity keeps its data in the antigravity and antigravity-cli subfolders. Delete those subfolders, not the parent.
Does brew uninstall --cask --zap antigravity delete my conversation history?
It can. The cask's zap list includes ~/.antigravity and ~/.gemini/antigravity in addition to the Library folders, so zap removes that data as well. Use plain brew uninstall --cask antigravity if you want to keep it.
Does uninstalling Antigravity sign me out or cancel my subscription?
No. Uninstalling does not cancel a Google AI plan and does not revoke your Google account's session. Sign out first (Settings > Account in the App, or /logout in the CLI) and manage any paid plan in your Google account.
How do I reinstall Antigravity cleanly?
Uninstall the app, delete the data folders you do not want to carry over, then download the installer from antigravity.google/download. For the CLI, delete the agy binary first and run the official install script again.
Sources
- Download page, getting-started and CLI settings docs: antigravity.google/download, antigravity.google/docs/getting-started, antigravity.google/docs/cli/settings
- Antigravity CLI README (install,
/logout): github.com/google-antigravity/antigravity-cli - Homebrew cask definitions: formulae.brew.sh/api/cask/antigravity.json and antigravity-cli.json
- Community uninstall tests for Windows and Mac leftover files: mole.fit, nektony.com
Related Guides
Install on Arch Linux
AUR, manual build, and source tarball installation methods.
InstallationInstall with Homebrew (macOS)
The fastest way to install and update Antigravity on Mac.
InstallationInstall Clawdbot on macOS
Fix npm EACCES errors and configure the Clawdbot CLI.
Guides & FeaturesHow to Change Antigravity Themes
Customize themes, dark mode, icons, and color schemes.
Rules & ConfigurationAntigravity Rules Guide
How to build custom rules with AGENTS.md and GEMINI.md.
MCP & IntegrationMCP Servers Setup Guide
Step-by-step guide to connecting MCP servers in Antigravity.
The weekly AI coding roundup
What shipped in AI and LLMs this week, and how to use it in your agent setup. No spam, unsubscribe anytime.