Skip to content
Projects

x3m-industries/antigravity-packages

View on GitHub

About

Native RPM & DEB repositories and universal 1-command installer for Google Antigravity 2.0, IDE & CLI on Fedora, Ubuntu, Debian, Arch & openSUSE.

Developer Tools

How these counts are measured

36 stars0 Forks +2 in 24h

What you can do

  • GNOME Files (Nautilus) Context Menu: Right-click any file, folder, or directory background in GNOME Files and select "Open in Antigravity IDE" (/usr/share/nautilus-python/extensions/open-in-antigravity-ide.py).
  • Browser OAuth Callback Handling: Separate antigravity-ide-url-handler.desktop with NoDisplay=true ensures browser OAuth redirects (antigravity-ide://) return seamlessly to the editor without cluttering app launchers.
  • Workspace MIME Handling: Pre-registered associations for .code-workspace and .antigravity-workspace files.
  • Hardened SUID Sandboxing: Correctly set 04755 root:root permissions on chrome-sandbox binaries so Electron runs securely without insecure --no-sandbox flags.

Measured star growth

in 24h
+2
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Google Antigravity for Linux — Native Packages & Universal Installer

Google Antigravity IDE Google Antigravity App

GitHub Stars Build Status Total Downloads Repository Status Architectures GPG Signed

Install Google Antigravity 2.0, Antigravity IDE, and Antigravity CLI ('agy') on Linux with one command or native package managers (DNF, APT, Zypper).
One-command Linux installer & native enterprise-grade repositories (RPM & DEB) with automatic daily synchronization directly from Google's official release page. Features full FreeDesktop desktop menus, GNOME Files (Nautilus) right-click context menu, high-resolution icons, and browser OAuth redirect integration for Fedora, Ubuntu, Debian, Arch Linux, and openSUSE.
Architected & maintained by Steven Ceuppens at X3M Industries.

# ⚡ 1-Command Universal Linux Installer (Interactive with smart defaults: IDE + App + CLI)
curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash

⭐ If this project saves you time on Linux, please star the repository! It helps fellow Linux developers discover native packages and supports our automated packaging infrastructure.

Quick Navigation: ⚡ Quick Install · Why Native Packages vs Tarballs · 🎩 Fedora DNF · 🟠 Ubuntu APT / PPA · 🦎 openSUSE Zypper · 🏹 Arch Linux · Nautilus Integration · CLI Integration · Inspection & Uninstall · 🛡️ Security & Trust


📦 The Complete Google Antigravity Suite

Google publishes official Linux binaries for both apps as standalone archives without native package repositories. This repository packages them into standard RPM and DEB packages and provides an interactive installer for the complete suite:

Icon App / Package Component Description & Integration Highlights Official Google Docs
Antigravity IDE antigravity-ide Google Antigravity IDE Official AI-first desktop code editor. Native RPM/DEB, desktop launcher, antigravity-ide:// OAuth handler. Google IDE Details
Antigravity App antigravity Google Antigravity App Official agent platform & workspace. Native RPM/DEB, desktop launcher, antigravity:// OAuth handler. Google App Details
Antigravity CLI agy Google Antigravity CLI Official terminal coding agent. Seamlessly installed into ~/.local/bin/agy with native background auto-updates. Google CLI Reference

💡 Why Native Packages vs Raw Tarball Extractors

Unlike basic community scripts that download Google tarballs and manually unpack them into /opt without package manager integration:

Architectural Feature Raw Tarball Extractors (/opt) X3M Native Repositories (RPM & DEB)
Package Manager Integration ❌ None (system database is unaware of files) ✅ Native DNF, APT & Zypper integration
Automated System Updates ❌ Broken (unprivileged updater cannot write to root-owned /opt) ✅ Seamless updates (sudo dnf update / sudo apt upgrade)
Cryptographic Signing ❌ No signature verification ✅ GPG signed packages & repository metadata (7A48CA4D7E7B6601)
Dependency Resolution ❌ Prone to missing shared libraries ✅ Automatic system dependency resolution
Application Icons ⚠️ Generic fallback gear icon (Google hides App icon in app.asar) ✅ High-res 512x512 icons extracted from ASAR and indexed in hicolor/pixmaps
OAuth Protocol Handling ❌ Broken login redirect (missing FreeDesktop scheme handler) ✅ Registered antigravity:// & antigravity-ide:// OAuth handlers
Sandboxing & Permissions ⚠️ Electron crashes under Ubuntu 24.04+ restricted namespaces ✅ Hardened chrome-sandbox permissions (04755 root:root)
Desktop & Shell Integration ⚠️ Minimal launchers ✅ Full FreeDesktop menus, OAuth handlers, multi-desktop right-click (GNOME, KDE, Mint, MATE, COSMIC), shell completions
Legacy Conflict Cleanup ⚠️ $PATH & desktop collisions from obsolete manual symlinks ✅ Automatic detection & remediation of legacy /opt artifacts
Clean, Reversible Removal ⚠️ Risk of orphaned files across /usr ✅ Complete removal (dnf remove, apt purge, or --uninstall)

📋 System Requirements & Compatibility

  • glibc: ≥ 2.28 (Ubuntu 20.04+, Debian 10+, Fedora 29+, RHEL/CentOS/Rocky 8+, openSUSE Leap 15.2+)
  • libstdc++: ≥ 3.4.25
  • Architectures: x86_64 (amd64) and aarch64 (arm64)
  • Desktop Environments: GNOME (Files/Nautilus), KDE Plasma (Dolphin), Cinnamon (Nemo), MATE (Caja), COSMIC, XFCE

🚀 Quick Installation

⚡ Interactive Universal Installer (Recommended)

Automatically detects your Linux distribution (Fedora, RHEL, CentOS, Ubuntu, Debian, Rocky, Alma, openSUSE), shows what is currently installed on your system, and prompts you to select components with all three selected by default:

curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash

Simply press ENTER to install the complete suite (IDE + App + CLI), or type custom numbers (e.g. 1, 3 for IDE and CLI).

🤖 Automated & Headless Execution (CI/CD, Docker, Scripts)

When installing in automated environments, containers, or non-interactive deployment scripts, bypass prompts by passing command-line arguments.

[!IMPORTANT] How to pass arguments to piped scripts (bash -s --): When running via curl ... | bash, arguments cannot be passed directly after bash (e.g. | bash --help invokes GNU Bash's help, while curl ... --help | bash invokes curl's help).

Always pass arguments using bash -s -- <options>:

  • -s: Instructs bash to read the script from standard input (stdin).
  • --: Denotes the end of bash options, passing all subsequent flags directly to install.sh.
Common Command Examples
# 1. Install complete suite silently without prompts (IDE + App + CLI)
curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- -y

# 2. Inspect installation status and repository health
curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- --status

# 3. Cleanly uninstall all helper-configured packages, repos & integrations
curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- --uninstall

# 4. Install only the CLI ('agy') — user-space only, NO sudo required!
curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- --cli-only

# 5. Print official Google tarball & package download URLs
curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- --print-downloads

# 6. Dry run — preview what would be installed without making any changes
curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- --dry-run

Alternative (Process Substitution in Bash or Zsh):

bash <(curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh) --status
Command-Line Options Reference
Option Flag Description Scope / Privileges
-y, --yes, --non-interactive Run silently without interactive prompts (installs defaults: IDE, App, CLI) Sudo (desktop packages)
--all Explicitly install all three components (IDE, App, CLI) Sudo (desktop packages)
--status Show installed components, versions, and repository health User / None
--print-downloads Print official Google tarballs & package download URLs User / None
--uninstall Cleanly remove helper-configured repositories, packages & integrations Sudo
--cli-only Install only the Antigravity CLI (agy) into ~/.local/bin/agy User only (No sudo)
--ide-only Install only Antigravity IDE (code editor) via RPM/DEB Sudo
--app-only, --hub-only Install only Antigravity App (agent platform) via RPM/DEB Sudo
--no-cli Skip Antigravity CLI installation (desktop packages only) Sudo
--no-ide Skip Antigravity IDE installation Sudo / User
--no-app, --no-hub Skip Antigravity App installation Sudo / User
--no-nautilus Remove the file manager integrations shipped with the IDE package (alias of --no-desktop-integrations) Sudo
--dry-run Preview what would be installed and exit without making changes None
-h, --help Display the built-in help menu and usage examples None

Manual Installation by Distribution

🎩 Fedora, RHEL & CentOS (DNF Repository) — Antigravity Fedora DNF

# 1. Add the RPM repository file to /etc/yum.repos.d/
sudo curl -fsSL https://rpm.x3m.industries/rpm/antigravity.repo -o /etc/yum.repos.d/antigravity.repo

# 2. Install Antigravity IDE & App via DNF
sudo dnf install antigravity-ide antigravity

# 3. Update anytime
sudo dnf update antigravity-ide antigravity

🟠 Ubuntu, Debian, Pop!_OS & Linux Mint (APT Repository) — Antigravity Ubuntu APT / PPA

# 1. Add the GPG key & APT sources (modern DEB822 format)
sudo mkdir -p /etc/apt/keyrings
sudo curl -fsSL https://apt.x3m.industries/deb/antigravity.gpg -o /etc/apt/keyrings/antigravity.gpg
sudo curl -fsSL https://apt.x3m.industries/deb/antigravity.sources -o /etc/apt/sources.list.d/antigravity.sources

# 2. Update index and install via APT
sudo apt update
sudo apt install antigravity-ide antigravity

# 3. Update anytime
sudo apt update && sudo apt install --only-upgrade antigravity-ide antigravity

🦎 openSUSE Tumbleweed & Leap (Zypper Repository) — Antigravity openSUSE

# 1. Add the openSUSE Zypper repository & import the GPG signing key
sudo zypper addrepo -f https://rpm.x3m.industries/rpm/ antigravity
sudo rpm --import https://rpm.x3m.industries/rpm/RPM-GPG-KEY-antigravity

# 2. Install Antigravity IDE & App via Zypper
sudo zypper install antigravity-ide antigravity

# 3. Update anytime
sudo zypper refresh && sudo zypper update antigravity-ide antigravity

🏹 Arch Linux, Manjaro & EndeavourOS — Antigravity Arch Linux

Arch users can run Google Antigravity natively through user-space CLI, standalone PKGBUILDs, or converted DEB packages:

  • Option 1: Universal CLI Installer (No root required) Install Google's terminal pair programming agent (agy) directly into ~/.local/bin/agy:
    curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- --cli-only
    
  • Option 2: Native Arch PKGBUILD (makepkg) Clone this repository and run makepkg -si to build native Arch packages:
    git clone https://github.com/x3m-industries/antigravity-packages.git
    cd antigravity-packages/pkgbuild/antigravity-ide-bin && makepkg -si
    
  • Option 3: Convert DEB with debtap
    curl -fsSLO https://github.com/x3m-industries/antigravity-packages/releases/latest/download/antigravity-ide_2.5.5-4923483625488384.3_amd64.deb
    debtap -u && debtap antigravity-ide_*.deb && sudo pacman -U antigravity-ide-*.pkg.tar.zst
    

🔄 Updating Antigravity

The repositories synchronize daily with Google's release page. To update your installation:

  • Fedora / RHEL / Rocky (DNF): sudo dnf update antigravity-ide antigravity
  • Ubuntu / Debian / Mint (APT): sudo apt update && sudo apt install --only-upgrade antigravity-ide antigravity
  • openSUSE (Zypper): sudo zypper refresh && sudo zypper update antigravity-ide antigravity

⌨️ Antigravity CLI (agy) Integration

Google's official CLI tool (agy) is designed for fast, terminal-first AI pair programming, slash commands, and background task execution.

Architecture & Auto-Updates

  • Location: Installed canonically to $HOME/.local/bin/agy (user-space, no sudo required).
  • Native Auto-Updates: Google's CLI binary includes a built-in background auto-updater that checks for releases every 15 minutes during normal CLI sessions and self-updates in place.
  • Zero Conflict Guarantee:
    • If you already installed agy, our universal installer detects it, displays its current version, and skips re-downloading.
    • If you run Google's official install script (curl -fsSL https://antigravity.google/cli/install.sh | bash) after using our installer, Google's script detects ~/.local/bin/agy and exits cleanly.
    • User-space isolation eliminates root-permission write errors and prevents $PATH shadowing issues.

CLI Usage

# Launch interactive terminal session
agy

# Launch in a specific project directory
agy --add-dir ./my-project

# Run a prompt non-interactively
agy -p "Review this file for potential memory leaks"

📦 Standalone Package Downloads

If you or your organization prefer installing standalone .rpm or .deb packages directly without adding package repositories:

Application Package Format Direct GitHub Release Assets
Antigravity IDE .rpm (x86_64 / aarch64) Download Latest IDE .RPM
Antigravity IDE .deb (amd64 / arm64) Download Latest IDE .DEB
Antigravity App .rpm (x86_64 / aarch64) Download Latest App .RPM
Antigravity App .deb (amd64 / arm64) Download Latest App .DEB

💻 Command-Line & Desktop Integration

Both packages automatically install binaries and symlinks into /usr/bin:

# Open any project folder
antigravity-ide ./my-project

# Open specific files
antigravity-ide main.py

# Compare files with built-in diff viewer
antigravity-ide --diff old.py new.py

# Launch Antigravity App
antigravity

✨ Native Desktop Features Included:

  • GNOME Files (Nautilus) Context Menu: Right-click any file, folder, or directory background in GNOME Files and select "Open in Antigravity IDE" (/usr/share/nautilus-python/extensions/open-in-antigravity-ide.py).
  • Browser OAuth Callback Handling: Separate antigravity-ide-url-handler.desktop with NoDisplay=true ensures browser OAuth redirects (antigravity-ide://) return seamlessly to the editor without cluttering app launchers.
  • Workspace MIME Handling: Pre-registered associations for .code-workspace and .antigravity-workspace files.
  • Hardened SUID Sandboxing: Correctly set 04755 root:root permissions on chrome-sandbox binaries so Electron runs securely without insecure --no-sandbox flags.
  • High-Resolution Icons: Extracted official 512x512 application icons placed in FreeDesktop icon themes and /usr/share/pixmaps.
  • System Application Menu & Fast Search: Full FreeDesktop desktop entries with rich Keywords= (code, vscode, editor, ai) for GNOME Shell, KDE KRunner, COSMIC Launcher, and Rofi.
  • Shell Autocompletion: Native Bash (/usr/share/bash-completion) and Zsh (/usr/share/zsh) tab completions for antigravity-ide and agy-ide.

⚡ Short CLI Commands (agy, agy-ide, agy-app)

For fast terminal productivity, our packages and installer provide standardized, ergonomic short commands:

Command Target Application Description Scope
agy Antigravity CLI Agent Google's official terminal pair programmer & background agent User-space (~/.local/bin/agy)
agy-ide Antigravity IDE Shortcut for /usr/bin/antigravity-ide (e.g., agy-ide .) System (/usr/bin/agy-ide)
agy-app Antigravity App Shortcut for /usr/bin/antigravity (desktop agent platform; agy-hub alias also supported) System (/usr/bin/agy-app)

📂 Multi-Desktop File Manager Right-Click Integration

When Antigravity IDE is installed via our native packages or universal installer, it automatically configures native context menu extensions across all major Linux desktop environments:

  • GNOME Files (Nautilus): Native Python extension installed to /usr/share/nautilus-python/extensions/open-in-antigravity-ide.py. Supports both modern Nautilus 4.x (GTK4) and Nautilus 3.x. Restart with nautilus -q if needed.
  • KDE Plasma (Dolphin): Native KIO Service Menu installed to /usr/share/kio/servicemenus/open-in-antigravity-ide.desktop (and symlinked for KDE 5). Right-click any folder or file -> "Open in Antigravity IDE".
  • Linux Mint / Cinnamon (Nemo): Native Nemo Action installed to /usr/share/nemo/actions/open-in-antigravity-ide.nemo_action. Right-click any folder or file in Linux Mint.
  • MATE (Caja): Extension installed to /usr/share/caja-python/extensions/open-in-antigravity-ide.py.
  • COSMIC Desktop: Full MIME type registration (inode/directory, application/x-code-workspace) gives native "Open With" integration in cosmic-files and fast keyword indexing in cosmic-launcher.
  • Opt-Out: The extensions ship inside the antigravity-ide package. If you prefer not to have them, pass --no-desktop-integrations to have the installer remove them (a later package upgrade restores them):
    curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- --no-desktop-integrations
    

🛠️ Maintenance: Status & Clean Uninstallation

This project is designed to be transparent, auditable, and 100% reversible:

🔍 Inspect Installation Status

Check which components, package versions, repository files, GPG keys, and desktop extensions are active on your system:

curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- --status

🗑️ Complete Uninstallation

You can cleanly uninstall Google Antigravity either via our reversible 1-command uninstaller or directly through your native package manager:

  • Universal 1-Liner (Purges packages, repos, keys & extensions):

    curl -fsSL https://x3m-industries.github.io/antigravity-packages/install.sh | bash -s -- --uninstall
    
  • Ubuntu / Debian / Mint (APT):

    sudo apt remove antigravity-ide antigravity && rm -f ~/.local/bin/agy
    
  • Fedora / RHEL / AlmaLinux (DNF):

    sudo dnf remove antigravity-ide antigravity && rm -f ~/.local/bin/agy
    
  • openSUSE (Zypper):

    sudo zypper remove antigravity-ide antigravity && rm -f ~/.local/bin/agy
    
  • Cleaning Conflicting Legacy /opt Tarball Residue: If you previously extracted Google tarballs into /opt, remove the orphaned files with:

    sudo rm -rf /opt/Antigravity* /opt/antigravity* && sudo rm -f /usr/local/bin/antigravity* && rm -f ~/.local/share/applications/antigravity*.desktop
    

🤖 LLM & AI Search Index (llms.txt)

For AI assistants, search crawlers, and LLM coding tools (Gemini, Perplexity, ChatGPT Search, Claude), machine-readable context files are published at:


📦 Packages & Architectures

Package Description Architectures
antigravity-ide Google's VS Code–based agentic coding environment x86_64, aarch64 / arm64
antigravity Antigravity agent runtime & background platform x86_64, aarch64 / arm64

🛡️ Security, Trust & Verification

We understand that installing developer tools and configuring software repositories requires trust. Here is how this project guarantees safety:

  1. 100% Upstream Google Binaries: All applications are directly sourced from Google's official release page and verified download endpoints (storage.googleapis.com & edgedl.me.gvt1.com).
  2. Zero Telemetry or Binary Alteration: We do not recompile, inject, or tamper with any Google executables. We package them cleanly with standard FHS filesystem layouts (/usr/share, /usr/bin), FreeDesktop menu entries, and icons.
  3. Auditable CI/CD: Every single package is built, smoke-tested, and signed in public via GitHub Actions using transparent, reproducible Python scripts.
  4. Cryptographically Signed: Every release and repository index is signed with our maintainer GPG key:

⚙️ Development & Automation

How it works

  1. Daily Upstream Check: A GitHub Actions cron job runs daily at 02:30 UTC to check antigravity.google/download for new releases.
  2. Automated Packaging: When a new version is detected, the workflow downloads the official tarballs for both x86_64 and aarch64.
  3. Signing & Deployment: Packages are signed with GPG, uploaded to GitHub Releases (handling >100 MB assets), and repository metadata (repodata/ and Packages.gz) is refreshed on GitHub Pages.

Local Development

This repository uses mise for local environment management:

# Clone the repository
git clone https://github.com/x3m-industries/antigravity-packages.git
cd antigravity-packages

# Install required tools
mise install

# Check upstream release status
python3 scripts/check_upstream.py

📊 Download & Usage Analytics

Track real-time downloads across packages, architectures, and distro formats:

# Display download metrics dashboard
./scripts/stats.py

# Export raw JSON metrics
./scripts/stats.py --json

Architected & maintained by Steven Ceuppens at X3M Industries

Explore related projects

Loading…