Community Linux helper

Install Antigravity 2.0 with one command

Resolves Google's official tarball at install time, places it under /opt, adds launchers, and gives you a clean update command.

bash — installer
$ install.sh
# Resolving official tarballs...
OK Fetching Google Antigravity 2.0
OK Mapping /opt/antigravity
OK Injecting desktop launchers

Installation complete.

Official tarballs

No binary mirrors or unofficial repackaging. Downloads directly from Google at install time.

Desktop integration

App menu entries, icons, CLI launchers, MIME associations, and optional file browser integration.

Built-in updates

Run antigravity-linux update anytime to fetch the latest release.

Install

Recommended command

Install both Antigravity 2.0 desktop app and IDE.

antigravity + IDE
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env
ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --all

Desktop app (Agent) only

--desktop
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env
ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s --

IDE only

--ide
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env
ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --ide

Raw GitHub installer

raw.githubusercontent.com
INSTALLER_URL="https://raw.githubusercontent.com/opensnap/antigravity/main/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env
ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --all
Update

Keep it current

The installer registers its URL during setup, so updates work without remembering the original curl command. Look at the FAQ section for more details.

terminal
sudo antigravity-linux update --all
sudo update-antigravity
sudo update-antigravity-ide
Manage

Status and uninstall

URL-based installs can use the helper command. Local checkout installs can run the same script directly.

lifecycle
antigravity-linux --status
sudo antigravity-linux --uninstall
bash install.sh --status
sudo bash install.sh --uninstall

Installer options

The helper can print resolved downloads, skip integrations, force reinstalls, and store a specific update URL.

options
--desktop install or update only Antigravity 2.0
--ide install or update only Antigravity IDE
--all install or update both apps
--cli run Google's official CLI installer
--no-nautilus skip Nautilus integration
--no-apt skip automatic apt installs
--force reinstall the current version
--install-url URL store the update helper URL
--status show helper-managed installs
--print-downloads print official tarball URLs
--uninstall remove helper-managed files
-y, --yes assume yes where possible
Paths

System locations

Component Path
Antigravity 2.0 /opt/antigravity
Antigravity IDE /opt/antigravity-ide
CLI launchers /usr/local/bin/antigravity, /usr/local/bin/antigravity-ide
Update helpers /usr/local/bin/antigravity-linux, /usr/local/bin/update-antigravity*
Desktop entries /usr/share/applications/
Icons /usr/share/icons/hicolor/
Nautilus extension /usr/share/nautilus-python/extensions/open-in-antigravity-ide.py

# Does this give me a standardized package like Flatpak or .deb?

Systems

Supported Linux environments

Designed for Debian and Ubuntu systems with apt. Other Linux distributions can run it when the required tools already exist.

minimum runtime
glibc >= 2.28
glibcxx >= 3.4.25
x86_64 or ARM64 Linux tarballs when Google provides them
required tools
bash, curl, tar, python3
desktop-file-utils, xdg-utils
python3-nautilus for optional Nautilus integration
Security

Review before running

This script runs with sudo to install system-wide files. Always inspect scripts before executing them with elevated privileges.

inspect-then-run.sh
curl -fsSL "https://opensnap.github.io/antigravity/install.sh" -o install.sh
less install.sh
sudo bash install.sh --all
FAQ

Installer questions

Common setup, update, dependency, source, and option details for the Antigravity Linux helper.

How do I install both Antigravity 2.0 and Antigravity IDE?#

Use --all. This installs or updates both apps, creates CLI launchers, desktop entries, icons, update helpers, and optional IDE file-manager integration.

install-all.sh
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --all
How do I install only Antigravity 2.0?#

Use the default installer mode or pass --desktop. This installs only the Antigravity 2.0 desktop app and its launcher.

desktop-only.sh
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --desktop
How do I install only Antigravity IDE?#

Use --ide. This installs the IDE, its command-line launcher, desktop entry, MIME associations, and optional Nautilus integration.

ide-only.sh
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --ide
How do I also install Google's official Antigravity CLI?#

Add --cli. The helper then runs Google's official CLI installer from https://antigravity.google/cli/install.sh for the non-root user when possible.

with-cli.sh
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --all --cli
How do I skip Nautilus integration?#

Add --no-nautilus. IDE desktop launchers and MIME entries still install, but the GNOME Files/Nautilus right-click helper is skipped.

no-nautilus.sh
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --all --no-nautilus
How do I prevent automatic apt installs?#

Add --no-apt. Use this when dependencies are already installed or when you want to manage packages manually. On non-apt distributions, the helper checks for required tools instead of installing them.

no-apt.sh
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --all --no-apt
How do I force a reinstall?#

Add --force. This reinstalls even when the recorded installed version matches the latest resolved version.

force-reinstall.sh
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --all --force
How do I store a custom update URL?#

Use --install-url URL or set ANTIGRAVITY_LINUX_INSTALLER_URL. The installed antigravity-linux helper uses that URL for future updates.

custom-url.sh
sudo bash install.sh --all --install-url https://example.com/install.sh
How do I check install status?#

Use --status. The installed helper works after a published URL install. The local script works from a repository checkout.

published-install-status.sh
antigravity-linux --status

Checks helper-managed status after installing from the published URL.

local-checkout-status.sh
bash install.sh --status

Checks status directly from a local checkout when no installer URL was stored.

How do I print the official download URLs without installing?#

Use --print-downloads. Add --all, --desktop, or --ide to choose which official tarball URLs to resolve.

print-downloads.sh
bash install.sh --print-downloads --all
Does this give me a standardized package like Flatpak or .deb?#

This helper gives you a defined install and uninstall path, but it is not a Flatpak or .deb package. It installs into standard system locations, creates predictable launchers, and removes the helper-managed files with --uninstall.

# See PATHS (System locations).

If you specifically need package-manager integration, sandboxing, and distribution-native dependency metadata, Flatpak or a `.deb` package is the better choice. You may want to wait and see whether Google releases an official package for Antigravity 2. This project provides a simpler community-maintained installation path for users who prefer a single command, official Google tarballs, and an easily reversible system-wide installation.

How do I update Antigravity?#

Use the update helper installed by the published URL flow. There is one command for both apps and separate shortcuts for each product.

update-all.sh
sudo antigravity-linux update --all

Updates both Antigravity 2.0 and Antigravity IDE.

update-desktop.sh
sudo update-antigravity

Updates only the Antigravity 2.0 desktop app.

update-ide.sh
sudo update-antigravity-ide

Updates only Antigravity IDE.

How do I uninstall everything this helper manages?#

Use --uninstall. It removes helper-managed files from system locations and leaves user settings under home directories untouched.

published-install-uninstall.sh
sudo antigravity-linux --uninstall

Removes a helper-managed install created from the published URL.

local-checkout-uninstall.sh
sudo bash install.sh --uninstall

Removes a helper-managed install from a local repository checkout.

How do I inspect the script before running it?#

Download the installer to a local file, inspect it, then run the local copy.

inspect-then-run.sh
curl -fsSL "https://opensnap.github.io/antigravity/install.sh" -o install.sh
less install.sh
sudo bash install.sh --all
Does this download from official Google sources?#

Yes. The helper resolves current Linux tarball URLs from https://antigravity.google/download at install or update time. It does not mirror, modify, or redistribute Google Antigravity binaries.

Which systems and architectures are supported?#

The helper is designed for Debian and Ubuntu systems with apt-get and has been tested on Ubuntu 24.04 LTS. It can run on other Linux distributions when the required tools are already installed. Supported CPU architectures are x86_64/amd64 and aarch64/arm64 when Google provides matching Linux tarballs.

Is this affiliated with Google?#

No. This is a community helper. It is not affiliated with, endorsed by, or supported by Google. Google Antigravity is a trademark of Google LLC.