How To Install Google Antigravity on Ubuntu 24.04 LTS

Google Antigravity landed in November 2025 and immediately reshaped how developers think about writing code. If you want to install Google Antigravity on Ubuntu 24.04 and get a fully working, agent-powered IDE running on your Linux machine, you are in the right place. This guide walks you through every command, explains what each one does, and helps you avoid the mistakes that trip up most first-time installs. By the end, you will have a verified, up-to-date Antigravity installation ready to launch from both the terminal and the GNOME applications menu.
What Is Google Antigravity and Why Does It Matter?
Google Antigravity is a free, agent-first development platform built on top of VS Code and powered by Gemini 3 Pro. Google launched it on November 18, 2025, alongside Gemini 3, partly leveraging the engineering talent from the Windsurf team Google acquired for $2.4 billion in July 2025.
What makes Antigravity different from a standard AI coding assistant is its architecture. Instead of offering autocomplete suggestions or answering one-off questions, it deploys autonomous agents that plan, write, test, and validate entire features from start to finish without you needing to supervise every step.
The numbers back this up. Antigravity scored 76.2% on SWE-bench Verified, a benchmark that measures how well coding agents resolve real-world GitHub issues. It also scored 54.2% on Terminal-Bench 2.0, outperforming its predecessor Gemini 2.5 Pro by a significant margin.
The Three Core Surfaces
Antigravity organizes its interface into three connected surfaces:
- Agent Manager Dashboard – spawn and monitor multiple autonomous agents working on different tasks at the same time
- VS Code-Style Editor – the familiar coding environment with syntax highlighting, IntelliSense, and all standard IDE features
- Deep Browser Integration – a Chrome extension that lets agents open, interact with, and test web applications in real time
The practical result is that you can hand an agent a task like “build a REST API with JWT authentication and rate limiting,” walk away, and return to a working implementation complete with tests and documentation. Agents communicate progress through Artifacts, which are structured summaries explaining what was built and why.
Multi-Model Flexibility
Antigravity is not locked to a single AI model. Beyond Gemini 3 Pro, you can use Anthropic Claude Sonnet 4.5 and OpenAI GPT-OSS within the same interface. This means you can pick the right model for the right task without switching tools.
Prerequisites
Before you run a single command, make sure your system meets these requirements.
Operating System:
- Ubuntu 24.04 LTS (Noble Numbat) is recommended
- Ubuntu 22.04 LTS and 20.04 LTS are also supported
Hardware:
- Minimum 4 GB RAM (8 GB recommended for smooth agent multitasking)
- At least 500 MB free disk space (1 GB recommended)
- x64 or ARM64 architecture
System Libraries:
- glibc >= 2.28
- glibcxx >= 3.4.25
- Ubuntu 24.04 ships with glibc 2.35, which satisfies both requirements out of the box
Account and Network:
- A personal Google (Gmail) account
- Google Workspace / corporate accounts are not supported during public preview
- A stable internet connection (models run in the cloud)
Required Tools:
curlandgpg(installed in Step 1 below)sudoprivileges on your machine
Verify your architecture before proceeding:
uname -m
If the output is x86_64, you are running x64. If it shows aarch64, you are on ARM64. Both are supported.
Step 1: Update Your Ubuntu 24.04 System
Always update your system before installing new software. Outdated packages cause dependency conflicts that can break an otherwise clean installation.
sudo apt update && sudo apt upgrade -y
Here is what each part does:
sudo apt updatesyncs your local package index with Ubuntu’s official repositoriessudo apt upgrade -yinstalls any pending updates without prompting for confirmation- The
-yflag skips the manual confirmation step, useful when scripting or running headless
Expected output (last lines):
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
If a kernel update was included, reboot before continuing:
sudo reboot
Step 2: Install Required Dependencies
You need curl and gpg to complete the GPG key import in the next step. Most Ubuntu 24.04 installations already include both tools, but running this command is harmless either way.
sudo apt install curl gpg -y
curlfetches Google’s GPG signing key from the remote URLgpgconverts that key from ASCII-armored format into the binary.gpgformat that APT requires- The
-yflag auto-confirms the installation
Verify both tools are available:
curl --version
gpg --version
If both commands return version information, you are ready for the next step.
Step 3: Import the Google Antigravity GPG Signing Key
This is the security step that most guides rush through. The GPG key proves that every package APT downloads from Google’s repository was genuinely signed by Google and has not been tampered with. Skipping this step properly will cause APT to reject the packages.
First, create the modern keyring directory if it does not already exist:
sudo mkdir -p /etc/apt/keyrings
Now download the key and convert it to binary format in one piped command:
curl -fsSL https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg | \
sudo gpg --dearmor -o /etc/apt/keyrings/antigravity-repo-key.gpg
Breaking this down:
-ftells curl to fail silently if the server returns an HTTP error instead of hanging-ssuppresses the progress bar output-Sshows an error message if-sis active and a failure occurs-Lfollows redirects automaticallygpg --dearmorconverts the ASCII.gpgkey into the binary format APT needs- The output path
/etc/apt/keyrings/is the modern, recommended keyring location on Ubuntu 22.04+
Verify the key was written correctly:
ls -la /etc/apt/keyrings/antigravity-repo-key.gpg
You should see a file with a non-zero size. If the file is 0 bytes, the curl download failed and you should re-run the command.
Step 4: Add the Google Antigravity APT Repository
Now you register the official Google Antigravity source so APT knows where to find and download the package. Ubuntu 24.04 supports two repository file formats. The modern DEB822 .sources format is cleaner and better maintained. The legacy .list format works on all Ubuntu versions including older ones.
Sub-step A: DEB822 Format (Recommended for Ubuntu 24.04)
echo "Types: deb
URIs: https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev/
Suites: antigravity-debian
Components: main
Signed-By: /etc/apt/keyrings/antigravity-repo-key.gpg" | \
sudo tee /etc/apt/sources.list.d/google-antigravity.sources > /dev/null
Sub-step B: Legacy .list Format (Compatible with Ubuntu 20.04 and 22.04)
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
Use Sub-step A on Ubuntu 24.04 and Sub-step B if you are on an older release.
Verify the repository file was written:
cat /etc/apt/sources.list.d/google-antigravity.sources
The output should match exactly what you entered. If the file is empty, re-run the tee command.
Step 5: Refresh Package Lists and Install Google Antigravity on Ubuntu 24.04
With the repository in place, sync the package index to pull in the new Google source:
sudo apt update
Before installing, confirm APT can see the Antigravity package and shows the correct source URL:
apt-cache policy antigravity
Expected output:
antigravity:
Installed: (none)
Candidate: 1.14.2-1768287740
Version table:
1.14.2-1768287740 500
500 https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev antigravity-debian/main amd64 Packages
If the Candidate field shows (none), the repository was not added correctly. Go back to Step 4 and verify the file content.
Now install the package:
sudo apt install antigravity -y
APT automatically resolves and installs all required dependencies. The download is approximately 300-400 MB depending on the version. Installation typically completes in 3-5 minutes on standard broadband.
Verify the Installation
Confirm the package version from the APT database:
dpkg-query -W -f='${Package} ${Version}\n' antigravity
Expected output:
antigravity 1.14.2-1768287740
Confirm the binary is in your system PATH:
which antigravity
Expected output:
/usr/bin/antigravity
This is a symlink pointing to the actual binary at /usr/share/antigravity/bin/antigravity. If both commands return the expected output, your Google Antigravity on Ubuntu 24.04 setup is complete.
Step 6: Launch Google Antigravity and Complete First-Run Setup
You have two ways to open Antigravity: the terminal or the GNOME applications menu.
Sub-step A: Launch from Terminal
antigravity
To open a specific project folder directly:
antigravity /path/to/your/project
The command-line interface also accepts VS Code-style flags:
antigravity --new-window # Force a new window
antigravity --reuse-window # Open in existing instance
Sub-step B: Launch from the GNOME Applications Menu
- Click Activities in the top-left corner of your screen
- Click Show Applications (the grid icon at the bottom of the dock)
- Type
Antigravityin the search bar - Click the application icon to launch
First-Run Configuration
On first launch, Antigravity walks you through a short setup process:
- Google Account sign-in – use a personal Gmail account; corporate Workspace accounts are not yet supported during public preview
- Theme selection – dark theme is recommended for extended sessions
- Workspace initialization – Gemini 3 Pro connects and indexes your environment, which takes approximately 2-3 minutes
- Chrome extension prompt – install the extension if you plan to use the browser-native agent testing feature
Once setup is complete, you land on the main editor interface.
Step 7: Keep Google Antigravity Updated
Because you added the official Google APT repository in Step 4, future updates arrive through standard Ubuntu package management. You do not need to manually download anything.
To update Antigravity along with all other system packages during routine maintenance:
sudo apt update && sudo apt upgrade -y
To upgrade only Antigravity without touching other packages:
sudo apt update && sudo apt install --only-upgrade antigravity
The --only-upgrade flag tells APT to upgrade the package if it is already installed, but skip it entirely if it was previously removed. This prevents accidental reinstallation.
Google pushes updates frequently during the public preview phase. Checking for updates once a week is a reasonable maintenance schedule.
Step 8: Uninstall Google Antigravity (Optional)
If you need to remove Antigravity cleanly, run the following commands in order.
Remove the application:
sudo apt remove antigravity -y
Remove orphaned dependencies:
sudo apt autoremove -y
Remove the repository source file:
sudo rm /etc/apt/sources.list.d/google-antigravity.sources
Remove the GPG signing key:
sudo rm /etc/apt/keyrings/antigravity-repo-key.gpg
Refresh the package cache to confirm cleanup:
sudo apt update
Your personal settings, extensions, and project cache are stored separately in ~/.antigravity/ and are not deleted by these commands. If you want a full clean removal, back up the directory first, then delete it:
cp -r ~/.antigravity ~/antigravity-backup
rm -rf ~/.antigravity
Troubleshooting Common Install Errors
Even on a clean Ubuntu 24.04 system, a few things can go wrong. Here are the most common errors and how to fix them fast.
Error 1: N: Unable to locate package antigravity
- Cause: The repository was not added correctly, or
sudo apt updatewas not run after adding it - Fix: Check the repository file with
cat /etc/apt/sources.list.d/google-antigravity.sources, re-runsudo apt update, then retrysudo apt install antigravity
Error 2: GPG key import fails with a permission error
- Cause: The
/etc/apt/keyrings/directory does not exist - Fix: Run
sudo mkdir -p /etc/apt/keyringsbefore thegpg --dearmorcommand
Error 3: Dependency errors during apt install antigravity
- Cause: Outdated system packages or a glibc version below 2.28
- Fix: Run
sudo apt update && sudo apt upgradeto bring the system current. Ubuntu 24.04 ships with glibc 2.35, which satisfies the requirement automatically
Error 4: Google Account OAuth authentication keeps failing at first launch
- Cause: Browser cache interference, or a corporate network blocking Google OAuth endpoints
- Fix: Clear your browser cookies and cache, then retry. On a corporate network, ask your IT team to approve Antigravity for Google OAuth. Alternatively, use a personal Gmail account on a personal or hotspot network
Error 5: Application does not appear in the GNOME applications menu
- Cause: The
.desktopfile was installed but not indexed by GNOME yet - Fix: Log out and log back in, or force a database update manually:
sudo update-desktop-database
Congratulations! You have successfully installed Google Antigravity. Thanks for using this tutorial for installing Google Antigravity on Ubuntu 24.04 system. For additional help or useful information, we recommend you check the official Google Antigravity website.