█████╗ ███╗ ██╗████████╗██╗ ██████╗ ██████╗ █████╗ ██╗ ██╗██╗████████╗██╗ ██╗
██╔══██╗████╗ ██║╚══██╔══╝██║██╔════╝ ██╔══██╗██╔══██╗██║ ██║██║╚══██╔══╝╚██╗ ██╔╝
███████║██╔██╗ ██║ ██║ ██║██║ ███╗██████╔╝███████║██║ ██║██║ ██║ ╚████╔╝
██╔══██║██║╚██╗██║ ██║ ██║██║ ██║██╔══██╗██╔══██║╚██╗ ██╔╝██║ ██║ ╚██╔╝
██║ ██║██║ ╚████║ ██║ ██║╚██████╔╝██║ ██║██║ ██║ ╚████╔╝ ██║ ██║ ██║
╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝
██╗ ██╗███╗ ██╗██╗ ██╗██╗ ██╗
██║ ██║████╗ ██║██║ ██║╚██╗██╔╝
██║ ██║██╔██╗ ██║██║ ██║ ╚███╔╝
██║ ██║██║╚██╗██║██║ ██║ ██╔██╗
███████╗██║██║ ╚████║╚██████╔╝██╔╝ ██╗
╚══════╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝
This is a community helper. Not affiliated with, endorsed by, or supported by Google.
One-command Linux installer/updater for Google Antigravity 2.0 and Antigravity IDE using Google's official tarball downloads.
This project does not mirror, modify, or redistribute Google Antigravity. The installer resolves the latest official Google tarball from https://antigravity.google/download at install/update time, then adds Linux desktop integration around it.
- Installs the latest official Antigravity 2.0 Linux tarball.
- Optionally installs Antigravity IDE.
- Supports x86_64 and ARM64 Linux builds when Google provides them.
- Installs app menu launchers.
- Installs icons when available from the tarball.
- Adds command-line launchers:
antigravityantigravity-ide
- Adds update helper:
sudo antigravity-linux update --all
- Adds folder opening integration for IDE:
- file manager
Open Withsupport through.desktopMIME entries - optional GNOME Files/Nautilus right-click menu helper
- file manager
- Preserves the Electron/Chromium sandbox permission model instead of launching with
--no-sandboxby default.
glibc >= 2.28, glibcxx >= 3.4.25 (e.g. Ubuntu 20. Debian 10, Fedora 36, RHEL 8)
Install Antigravity 2.0 and the 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 -- --allInstall only Antigravity 2.0 desktop app:
INSTALLER_URL="https://opensnap.github.io/antigravity/install.sh"
curl -fsSL "$INSTALLER_URL" | sudo -E env ANTIGRAVITY_LINUX_INSTALLER_URL="$INSTALLER_URL" bash -s --Install only 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 -- --ideINSTALLER_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 -- --allOnce installed from a published URL:
sudo antigravity-linux update --allDesktop app only:
sudo update-antigravityIDE only:
sudo update-antigravity-ideWhen installed from a published URL:
antigravity-linux --statusFor local-checkout installs without a stored installer URL, use the local script:
bash install.sh --statusWhen installed from a published URL:
sudo antigravity-linux --uninstallFor local-checkout installs without a stored installer URL, use the local script:
sudo bash install.sh --uninstallThe uninstall removes helper-managed files from /opt, /usr/local/bin, /usr/share/applications, /usr/share/icons, and the Nautilus extension path. It does not delete user settings in home directories.
--desktop Install/update Antigravity 2.0 desktop app only
--ide Install/update Antigravity IDE only
--all Install/update desktop app + IDE
--cli Also run Google's official Antigravity CLI installer
--no-nautilus Skip GNOME Files/Nautilus context-menu helper
--no-apt Do not install apt dependencies automatically
--force Reinstall even when the recorded version matches
--install-url URL Store URL used by the antigravity-linux update command
--status Show installed helper-managed apps and versions
--print-downloads Print resolved official Google tarball URLs
--uninstall Remove helper-managed installation
-y, --yes Non-interactive; 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 helper | /usr/local/bin/antigravity-linux |
| App launchers | /usr/share/applications/antigravity*.desktop |
| Icons | /usr/share/icons/hicolor/512x512/apps/ |
| Nautilus extension | /usr/share/nautilus-python/extensions/open-in-antigravity-ide.py |
Designed for Debian/Ubuntu-based distributions with apt-get.
The script can also run on other Linux distributions if the required tools already exist:
bashcurltarpython3desktop-file-utilsxdg-utils
GNOME Files/Nautilus integration additionally needs python3-nautilus.
This repository includes a GitHub Actions workflow at .github/workflows/pages.yml that deploys the docs/ directory to GitHub Pages.
- Use this repository,
opensnap/antigravity, or fork it under your own account. - Push your changes to the
mainbranch. - Open Settings → Pages.
- Set Build and deployment → Source to GitHub Actions.
- Run or wait for the Deploy GitHub Pages workflow.
- Your installer will be available at:
https://opensnap.github.io/antigravity/install.sh
Clone the repository:
git clone https://github.com/opensnap/antigravity.git
cd antigravityRun local checks:
bash scripts/check.shSync the GitHub Pages copy of the installer:
bash scripts/sync-site.shInstall from the local checkout:
sudo bash install.sh --allThis installer uses sudo because it installs system-wide files under /opt, /usr/local/bin, /usr/share/applications, and /usr/share/icons.
For safer review before running:
curl -fsSL "https://opensnap.github.io/antigravity/install.sh" -o install.sh
less install.sh
sudo bash install.sh --allContributions are welcome! Please open an issue or submit a pull request.
Read the contributing guidelines for more information.
The easiest way to contribute is to check whether this works smoothly on your OS and if any issues arise, open an issue, describe the problem, your system details, and screenshots (if possible).
- Ubuntu 24 (LTS)
MIT. See LICENSE.