Default Alt Text

How to Install Google Antigravity IDE on Ubuntu

Skilltori

Skilltori

7/2/2026 - 3 min read

If you are trying to set up the new visual Google Antigravity IDE on Ubuntu via the standalone Linux archive (.tar.gz), you might run into a couple of classic Linux speed bumps.

In this quick guide, we will walk through the foolproof, manual installation process, set up a system-wide shortcut, and fix a critical space-handling bug built into the current Linux installer archive that causes the application to crash on launch.

Prerequisites: Install curl First

Before getting started, make sure your system has curl installed, as many minimal Ubuntu environments skip it by default. Open your terminal and run:

Bash

code
sudo apt update && sudo apt install curl -y

Step 1: Extract the Archive (The Right Way)

When you extract the official AntigravityIDE.tar.gz archive, it natively unpacks into a directory named 'Antigravity IDE' (with a space). Because the IDE is built on top of a Chromium framework, leaving that space in the folder name will cause a fatal zygote_host crash/core dump on launch because Chromium's internal processes can't parse paths containing spaces.

To avoid this entirely, we will extract the archive to /opt/ and immediately rename the directory to be space-free:

Bash

code
# 1. Extract to the system apps folder
sudo tar -xzf ~/Downloads/AntigravityIDE.tar.gz -C /opt/

# 2. Rename the folder to remove the breaking space
sudo mv '/opt/Antigravity IDE' /opt/antigravity-ide

Step 2: Create a Terminal Command Shortcut

To make sure you can spin up the IDE cleanly from any directory in your terminal by typing antigravity-ide, create a system symlink pointing directly to the new executable path:

Bash

code
sudo ln -sf /opt/antigravity-ide/antigravity-ide /usr/local/bin/antigravity-ide

Step 3: Add Antigravity to the Ubuntu Applications Menu

To ensure the IDE shows up beautifully in your Ubuntu Activities desktop search panel alongside your other software, create a custom desktop launcher shortcut file:

Bash

code
nano ~/.local/share/applications/antigravity-ide.desktop

Paste the following configuration cleanly inside the text editor:

Ini, TOML

code
[Desktop Entry]
Name=Antigravity IDE
Comment=Google Agentic Development Platform
Exec=/opt/antigravity-ide/antigravity-ide
Icon=/opt/antigravity-ide/resources/app/icon.png
Terminal=false
Type=Application
Categories=Development;IDE;

Press Ctrl + O, then Enter to save the changes, and Ctrl + X to exit the editor.

Step 4: Launch and Initialize

You are all set! You can now launch the IDE instantly by searching for "Antigravity IDE" in your Ubuntu desktop app drawer, or by simply running the terminal command:

Bash

code
antigravity-ide

On your very first launch, the desktop window will open and walk you through a quick browser authentication screen to securely connect the workspace environment to your Google developer credentials. Happy coding!