September 8, 2026

Uninstall Antigravity completely on Mac: GUI, CLI, and all hidden files

Sergio Tereshchenko
Written by
A Mac specialist with a QA engineering background, focused on troubleshooting and how-to guides.

Sergio Tereshchenko

Alex Holovchenko
Approved by
Reviewed by a QA engineer at Nektony and Apple Certified Support Professional with hands-on experience testing Mac software.

Alex Holovchenko

Share

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.

One click to get an app uninstalled

Skip hunting through Library folders to find all the files Antigravity GUI or other app spreads across your Mac. App Cleaner & Uninstaller scans for the app and its known leftovers automatically and removes them together, no Finder or Terminal marathon required.

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.

If you installed the GUI through Homebrew, dragging it to Trash breaks something else too. Homebrew still thinks the cask is installed, and this command properly clears its receipt:
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

in Terminal. Otherwise, a locked file can throw an error partway through.

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
/Applications/Antigravity.app

Copy

The app bundle itself No GUI
~/Library/Application Support/Antigravity

Copy

Project state, agent history, verification artifacts, auth tokens Yes GUI
~/Library/Caches/com.google.antigravity

Copy

Agent cache, temporary model files Yes GUI
~/Library/Caches/com.google.antigravity.ShipIt

Copy

Cache for the built-in Sparkle/ShipIt updater Yes GUI
/private/var/folders/*/*/*/com.google.antigravity and com.google.antigravity.helper

Copy

System temp files, unique for each user Yes GUI
~/Library/Preferences/com.google.antigravity.plist

Copy

User preferences Yes GUI
~/Library/Preferences/ByHost/com.google.antigravity.ShipIt.<uuid>.plist

Copy

Host-specific updater settings; the UUID is unique per Mac; search by the com.google.antigravity prefix Yes GUI
~/Library/Logs/Antigravity

Copy

App logs Yes GUI
~/Library/HTTPStorages/com.google.antigravity

Copy

Cookies and HTTP cache for the app’s embedded browser engine Yes GUI
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.antigravity.sfl4

Copy

Finder’s recent-documents record for the app Yes GUI
~/.antigravity_tools

Copy

Agent tool configs and logs Yes (dotfile) GUI
~/.gemini/antigravity-cli/

Copy

CLI settings and, if you’ve used MCP servers, their configuration Yes CLI
.agents/mcp_config.json (inside a project folder)

Copy

Per-project MCP configuration, created the first time you run agy inside that folder No, but easy to miss CLI
~/.local/bin/agy

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:
    ls -d /Applications/Antigravity.app 2>/dev/null

    Copy

    If you get a path back, the desktop app is installed.
  • In Spotlight: Open Spotlight, type
    Antigravity

    Copy

    . If it appears under Applications, you have the desktop version.

Check for the Antigravity CLI

Open Terminal and run:

which agy

Copy

  • If the output is
    /.local/bin/agy

    Copy

    , you installed it via the curl install script.
  • If the output starts with
    /opt/homebrew

    Copy

    or
    /usr/local

    Copy

    , you installed it with Homebrew.
  • 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:

  1. Get App Cleaner & Uninstaller installedopen it.
  2. Locate Antigravity in the application list → select it.

    App Cleaner & Uninstaller showing Antigravity in the application list

  3. Click Uninstallreview 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.

     App Cleaner & Uninstaller showing Antigravity preview removal

  4. 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 antigravity

    Copy

  • 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.

  1. Press Cmd+Option+Escselect Antigravity in the list → click Force Quit.

    Force Quit Applications dialog on macOS with Antigravity selected

    • Alternatively, open Activity Monitor → search for
      antigravity

      Copy

      → select all Antigravity processes → click the Stop (×) button.

      Activity Monitor showing Antigravity processes selected for quitting

Step 2: Delete the Antigravity executable file.

  1. Open Finder → go to Applications.
  2. Locate and right-click Antigravity → choose Move to Trash.

    Antigravity in the Applications folder in Finder

Step 3: Delete Antigravity’s associated files.

  1. In Finder, press Cmd+Shift+. to show hidden files.
  2. Then use the Shift+Cmd+G shortcut to jump to each path below and delete it:
    • ~/Library/Application Support/Antigravity

      Copy

    • ~/Library/Caches/com.google.antigravity

      Copy

    • ~/Library/Caches/com.google.antigravity.ShipIt

      Copy

    • ~/Library/Preferences/com.google.antigravity.plist

      Copy

    • ~/Library/Preferences/ByHost/

      Copy

      → look for a file starting with
      com.google.antigravity.ShipIt.

      Copy

    • ~/Library/Logs/Antigravity

      Copy

    • ~/Library/HTTPStorages/com.google.antigravity

      Copy

    • ~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.antigravity.sfl4

      Copy

    • ~/.antigravity

      Copy

      and
      ~/.antigravity_tools

      Copy

      , if any

  3. Delete the Antigravity temp caches, located in a path unique to your Mac. Using the Go to Folder box again, go to
    /private/var/folders/

    Copy

    → in the search box, enter
    com.google.antigravity

    Copy

    → make sure the search filter is Folders → move to Trash everything associated with Antigravity. These files shall be as follows:
    • /private/var/folders/21/69gs01gd2xng466w2zvdcwjw0000gn/C/com.google.antigravity

      Copy

    • /private/var/folders/21/69gs01gd2xng466w2zvdcwjw0000gn/C/com.google.antigravity.helper

      Copy

Step 4: Empty Trash.

Remove Antigravity in Terminal

Terminal works for those who love executing commands and know exactly what to do. By running removal commands, you delete the files permanently with no Trash safety net. To do that, run
ls -la

Copy

on each path first to confirm you are deleting the right folder.

Steps for removing the Antigravity GUI in Terminal

  1. Force-quit any running Antigravity process first:
    pkill -f Antigravity

    Copy

    Terminal running pkill -f antigravity to stop all Antigravity processes

  2. Remove the Antigravity app bundle:
    sudo rm -rf /Applications/Antigravity.app

    Copy

    • If you installed the Antigravity GUI through Homebrew:

      brew uninstall –cask antigravity

      Copy

  3. Remove the Antigravity data and caches:
    • Remove the Antigravity data and caches

      rm -rf ~/Library/Application\ Support/Antigravity

      Copy

      rm -rf ~/Library/Caches/com.google.antigravity

      Copy

      rm -rf ~/Library/Caches/com.google.antigravity.ShipIt

      Copy

      rm -rf ~/Library/Preferences/com.google.antigravity.plist

      Copy

      rm -rf ~/Library/HTTPStorages/com.google.antigravity

      Copy

      rm -rf ~/Library/Logs/Antigravity

      Copy

      rm -f ~/Library/Preferences/ByHost/com.google.antigravity.ShipIt.*.plist

      Copy

      rm -f ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.antigravity.sfl*

      Copy

    Terminal showing rm commands being run to remove Antigravity Library files

  4. Check and remove Antigravity dotfiles, which are hidden:

    • Check that they exist before deleting

      ls -la ~/.antigravity_tools

      Copy

      ls -la ~/.antigravity

      Copy

    • Only after you make sure this directory exists, remove it:

      rm -rf ~/.antigravity_tools

      Copy

      rm -rf ~/.antigravity

      Copy

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.

  1. Run the uninstall command:
    brew uninstall –cask antigravity-cli

    Copy

    Terminal running brew uninstall --cask antigravity-cli

  2. Homebrew removes the binary and its receipt, but not the user data. Clean those manually:
    rm -rf ~/.gemini/antigravity-cli

    Copy

    Terminal running rm to remove the Antigravity CLI config folder from ~/.gemini

    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.

  3. Verify the binary is gone:
    which agy

    Copy

If you installed the Antigravity CLI via the official curl script

If the script
curl -fsSL https://antigravity.google/cli/install.sh | bash

Copy

was the way you installed the app, brew uninstall won’t find anything; this needs a fully manual pass.
  1. Stop the process if running:
    pkill -f agy

    Copy

  2. Find the binary location (the default install location is ~/.local/bin/agy) and remove it:
    • which agy

      Copy

    • rm -f ~/.local/bin/agy

      Copy

  3. Remove the Antigravity CLI’s config and data:
    • rm -rf ~/.gemini/antigravity-cli

      Copy

    • rm -rf ~/.antigravity

      Copy

    • rm -rf ~/.antigravity_tools

      Copy

  4. 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/null

      Copy

    • 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 ~/.zshrc

      Copy

  5. Verify complete removal:
    • which agy

      Copy

    • agy –version

      Copy

    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.

Frequently asked questions

Is Antigravity CLI the same as Gemini CLI?

No, they are different but related:
  • The original Gemini CLI stopped serving free-tier, Google AI Pro, and Google AI Ultra personal account holders on June 18, 2026.
  • This is when Google migrated those users to Antigravity CLI.
  • Enterprise users with Gemini Code Assist Standard or Enterprise licenses, and users with a paid Google Cloud API key, are unaffected and continue to use the old Gemini CLI.

Does brew uninstall --cask antigravity-cli --zap remove everything?

  • It removes the binary and the Homebrew receipt.
  • It doesn't touch ~/.gemini/antigravity-cli/ or per-project .agents/mcp_config.json files, those need the manual steps above regardless of how you installed the CLI.

I removed Antigravity, but agy still works in Terminal. Why?

You removed the GUI app (Antigravity.app) but not the CLI binary. The agy binary is located at ~/.local/bin/agy (curl install) or in your Homebrew bin directory, neither of which is touched by removing the app bundle.

Why does the Antigravity menu bar icon or process stay after I delete the app?

A background helper process is likely still running:
  • Quit it through Activity Monitor, or run
    pkill -f Antigravity

    Copy

    in Terminal.
  • Remove the leftovers manually in Finder or automatically in App Cleaner & Uninstaller.
  • Log out or restart if the icon still doesn't clear.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top