Official tarballs
No binary mirrors or unofficial repackaging. Downloads directly from Google at install time.
Resolves Google's official tarball at install time, places it
under /opt,
adds launchers, and gives you a clean update command.
# Resolving official tarballs...
OK Fetching Google Antigravity 2.0
OK Mapping /opt/antigravity
OK Injecting desktop launchers
Installation complete.
No binary mirrors or unofficial repackaging. Downloads directly from Google at install time.
App menu entries, icons, CLI launchers, MIME associations, and optional file browser integration.
Run
antigravity-linux update
anytime to fetch the latest release.
Install both Antigravity 2.0 desktop app and 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
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env
ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s --
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
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
The installer registers its URL during setup, so updates work without remembering the original curl command. Look at the FAQ section for more details.
sudo antigravity-linux update --all
sudo update-antigravity
sudo update-antigravity-ide
URL-based installs can use the helper command. Local checkout installs can run the same script directly.
antigravity-linux --status
sudo antigravity-linux --uninstall
bash install.sh --status
sudo bash install.sh --uninstall
The helper can print resolved downloads, skip integrations, force reinstalls, and store a specific update URL.
--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
| 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?
Designed for Debian and Ubuntu systems with apt. Other Linux distributions can run it when the required tools already exist.
glibc >= 2.28
glibcxx >= 3.4.25
x86_64 or ARM64 Linux tarballs when Google provides them
bash, curl, tar, python3
desktop-file-utils, xdg-utils
python3-nautilus for optional Nautilus integration
This script runs with
sudo to
install system-wide files. Always inspect scripts before executing
them with elevated privileges.
curl -fsSL
"https://opensnap.github.io/antigravity/install.sh"
-o install.sh
less install.sh
sudo bash install.sh
--all
Common setup, update, dependency, source, and option details for the Antigravity Linux helper.
Use --all. This installs or updates both apps, creates CLI launchers, desktop entries, icons, update helpers, and optional IDE file-manager integration.
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
Use the default installer mode or pass --desktop. This installs only the Antigravity 2.0 desktop app and its launcher.
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --desktopUse --ide. This installs the IDE, its command-line launcher, desktop entry, MIME associations, and optional Nautilus integration.
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s -- --ideAdd --cli. The helper then runs Google's official CLI installer from https://antigravity.google/cli/install.sh for the non-root user when possible.
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 --cliAdd --no-nautilus. IDE desktop launchers and MIME entries still install, but the GNOME Files/Nautilus right-click helper is skipped.
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-nautilusAdd --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.
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-aptAdd --force. This reinstalls even when the recorded installed version matches the latest resolved version.
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 --forceUse --install-url URL or set ANTIGRAVITY_LINUX_INSTALLER_URL. The installed antigravity-linux helper uses that URL for future updates.
sudo bash install.sh --all --install-url https://example.com/install.shUse --status. The installed helper works after a published URL install. The local script works from a repository checkout.
antigravity-linux --statusChecks helper-managed status after installing from the published URL.
bash install.sh --statusChecks status directly from a local checkout when no installer URL was stored.
Use --print-downloads. Add --all, --desktop, or --ide to choose which official tarball URLs to resolve.
bash install.sh --print-downloads --allThis 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.
Use the update helper installed by the published URL flow. There is one command for both apps and separate shortcuts for each product.
sudo antigravity-linux update --allUpdates both Antigravity 2.0 and Antigravity IDE.
sudo update-antigravityUpdates only the Antigravity 2.0 desktop app.
sudo update-antigravity-ideUpdates only Antigravity IDE.
Use --uninstall. It removes helper-managed files from system locations and leaves user settings under home directories untouched.
sudo antigravity-linux --uninstallRemoves a helper-managed install created from the published URL.
sudo bash install.sh --uninstallRemoves a helper-managed install from a local repository checkout.
Download the installer to a local file, inspect it, then run the local copy.
curl -fsSL "https://opensnap.github.io/antigravity/install.sh" -o install.sh
less install.sh
sudo bash install.sh --allYes. 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.
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.
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.