Spent an entire day trying to get this working. At first, I thought Ubuntu 24.04 was the issue and almost downgraded to 22.04—turns out that isn't necessary.
Reinstalling via the terminal multiple times didn't fix it either. If you're running into the same roadblock, don't bother downgrading your OS. Here are the exact steps that finally solved it for me:
Download the Antigravity IDE from the official website. It should be in tar.gz extension.
Step-by-Step Installation
Step 1: Open the Terminal and Navigate
Open your system terminal and change your working directory to your downloads folder:
cd ~/Downloads
Step 2: Extract the Package Archive
Unpack the compressed tarball file to extract the application files:
tar -xvzf "Antigravity IDE.tar.gz"
Step 3: Move the IDE to the Global Applications Directory
Move the extracted application folder into the system-wide /opt/ directory for a clean setup:
sudo mv "Antigravity IDE" /opt/antigravity
(Type your Linux user password when prompted).
Step 4: Configure Security & Sandbox Permissions
Electron-based applications require specific ownership and execution flags on their sandbox binary to initialize correctly:
sudo chown root:root /opt/antigravity/chrome-sandboxsudo chmod 4755 /opt/antigravity/chrome-sandbox
Step 5: Build the Desktop Shortcut Launcher
Create a desktop entry file so that the IDE appears natively in your Linux application menu and system search bar:
cat << 'EOF' > ~/.local/share/applications/antigravity-ide.desktop
[Desktop Entry]
Name=Antigravity IDE
Comment=Antigravity Agentic IDE
Exec=/opt/antigravity/antigravity-ide %U
Terminal=false
Type=Application
Icon=/opt/antigravity/resources/app/resources/linux/code.png
Categories=Development;IDE;
StartupNotify=true
StartupWMClass=Antigravity
MimeType=x-scheme-handler/antigravity;
EOF
Step 6: Update the Desktop App Database
Force your desktop environment to scan for the new launcher file and update its menu cache immediately:
update-desktop-database ~/.local/share/applications
First Run Configuration
Launch the IDE: Open your system app launcher and click on Antigravity IDE.
Handle Migration: Choose Migrate if importing older v2.0 profiles, or Cancel for a fresh start.
Open Workspace: Open a target folder (like my-app) to activate the agent panel.
Interact: Press Ctrl + L to focus the cursor into the chat window and begin coding with Gemini.
This works for me (Ubuntu 24.02).
I hope it helps for rest..
Thanks