How To Install Google Antigravity on Linux Mint 22

Install Google Antigravity on Linux Mint 22

If you want to Install Google Antigravity on Linux Mint 22, the process is straightforward once you know which install path matches your system and your goal. Linux Mint 22 sits on an Ubuntu 24.04 base, so it can use the same Debian-style package workflow that Google supports for Linux.

Google Antigravity is an agent-first development platform from Google, and its Linux build supports modern systems with appropriate glibc versions. That matters because Linux Mint 22 is modern enough for the install, but you still need to follow the steps carefully so the package keys, repository, and launcher all work as expected.

In this guide, I will show you how to set up Google Antigravity on Linux Mint 22 in a clean, sysadmin-friendly way. I will also explain what each command does and why it matters, so you can understand the process instead of just copying commands. The goal is a safe Google Antigravity on Linux Mint 22 setup that you can trust for daily work.

Prerequisites

  • OS: Linux Mint 22, which is compatible with Google Antigravity’s Linux requirements through its Ubuntu-based package support.
  • Permissions: A user account with sudo access.
  • Tools: curl, gpg, ca-certificates, and a terminal app.
  • Internet access: Stable connection for downloading the repository data and package files.
  • Disk space: At least a few hundred MB free for the app and related files.
  • Google account: Needed for sign-in during first launch on the desktop app.

Step 1: Update Your System

Refresh package indexes

sudo apt update

This command refreshes your local package list. It matters because APT needs current metadata before it can safely install new software or external repository packages.

Upgrade installed packages

sudo apt upgrade -y

This updates older packages on your system. It reduces the chance of dependency conflicts during the Antigravity install and helps keep your Linux Mint 22 environment stable.

Expected output

You should see package lists downloading, followed by a summary of packages to upgrade. If the system asks for confirmation, the -y flag already handles that for you.

Step 2: Install Required Tools

Install helper packages

sudo apt install ca-certificates curl gpg -y

This installs the basic tools needed to add Google’s repository safely. curl downloads files, gpg handles repository signing keys, and ca-certificates helps your system verify secure HTTPS connections.

Why this step matters

If you skip these tools, the repository setup can fail before the install even starts. A clean configure Google Antigravity on Linux Mint 22 process begins with trust, and trust begins with proper certificate and key handling.

Step 3: Add Google’s Repository Key

Create the keyring directory

sudo install -d -m 0755 /etc/apt/keyrings

This creates a dedicated location for third-party repository keys. It keeps the system organized and follows the modern Debian and Ubuntu security model.

Download and convert the key

curl -fsSL https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg | sudo gpg --dearmor --yes -o /etc/apt/keyrings/antigravity-repo-key.gpg

This downloads Google’s repository signing key and converts it into a format APT can use. APT checks this key before it trusts packages from the repository.

Why this step matters

Without a valid signing key, APT will refuse the package source. That protects your system from tampered packages and makes the install process safer.

Step 4: Add the Antigravity Repository

Create the source list entry

echo "deb [signed-by=/etc/apt/keyrings/antigravity-repo-key.gpg] https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev/ antigravity-debian main" | sudo tee /etc/apt/sources.list.d/antigravity.list > /dev/null

This tells APT where to find the package and which signing key to trust. It writes a new repository file into /etc/apt/sources.list.d/, which APT reads automatically.

Why this step matters

You are not installing from random web downloads. You are telling Linux Mint to fetch the package from Google’s signed repository, which is the safer way to handle software installation on a server or desktop.

Expected output

You will likely see the repository line echoed back once, then the prompt returns. That means the source file was created successfully.

Step 5: Refresh APT and Verify the Package

Update package metadata again

sudo apt update

This makes APT read the new Google repository. Without this refresh, the system will not know the package exists yet.

Check the package version

apt-cache policy antigravity

This shows the candidate version APT can install. In the current Linux package path, you may see a legacy package version around 1.23.2, while Google also documents newer installation paths for the desktop app and CLI.

Why this step matters

Verification helps you avoid confusion between install methods. If you are following a Linux server tutorial style workflow, checking the version before installation is a smart habit because it confirms the repository is live and reachable.

Step 6: Install Google Antigravity

Install the package

sudo apt install antigravity -y

This installs Antigravity from the repository you added earlier. The -y flag confirms the install automatically, which is useful if you are doing this over SSH or prefer a fast setup.

Why this step matters

This is the actual install step, but it depends on every previous step. The key file, repository line, and updated package cache all work together to let APT install the software correctly.

Expected output

You should see package download progress, unpacking, and setup messages. When the process completes, APT returns you to the shell prompt.

Step 7: Launch Antigravity

Start from the terminal

antigravity

This starts the app from your current desktop session. It is the fastest way to confirm the installation worked.

Start from the application menu

You can also open the Mint menu and search for Antigravity. That is useful after the first launch because it confirms the desktop entry was created properly.

Why this step matters

A package is not fully useful until it runs. Launching it immediately helps you catch display, permission, or launcher issues while the install context is still fresh.

Step 8: Complete First-Time Setup

Sign in with Google

Antigravity uses a sign-in flow during first launch.

This part happens inside the app. The sign-in step matters because Google uses it to connect you to the agent platform and any cloud-backed features.

Choose your workspace settings

Pick your theme, confirm the default workspace, and review the startup options. These settings help you match the IDE to your preferred workflow.

Why this step matters

First-run setup is where you turn the installed app into a usable environment. If you skip it or rush through it, you may miss useful defaults that improve daily work.

Google Antigravity on Linux Mint 22 setup

Optional CLI install

curl -fsSL https://antigravity.google/cli/install.sh | bash
export PATH="$HOME/.local/bin:$PATH"
agy --version

This installs the CLI into your user directory, then adds it to your shell path. That is useful for scripting, remote sessions, and repeatable automation in a Linux server tutorial style environment.

Why this matters

The CLI is better for developers and sysadmins who want to work quickly from the terminal. It also keeps the tool user-scoped instead of system-wide, which reduces risk on shared machines.

Troubleshooting

Repository not found

If apt update cannot find the repository, check your source file first.

cat /etc/apt/sources.list.d/antigravity.list

If the line looks wrong, recreate it carefully. A small typo in the URL or key path will break the install.

GPG signature error

If APT says the repository is unsigned, the key file may be missing or malformed.

ls -l /etc/apt/keyrings/antigravity-repo-key.gpg

If the file is missing, rerun the key download step. This error usually means APT cannot verify the source, so it refuses to continue.

Command not found

If antigravity does not start after install, refresh your shell cache.

hash -r
which antigravity

This checks whether the binary exists in your path. If the package installed correctly, the command should return the executable location.

App opens with a blank window

If the window appears black or blank, try a GPU fallback.

antigravity --disable-gpu

This helps on some Linux desktop setups where Electron-style apps struggle with graphics acceleration. It is a practical fix for desktop rendering issues.

Package version seems old

If APT shows an older version, that may still be the current repository package path.

apt-cache policy antigravity

Google’s docs also mention newer desktop and CLI installation methods, so version differences can reflect the install channel, not a broken system.

[su_box title=”VPS Manage Service Offer” style=”bubbles” box_color=”#000000″ radius=”10″]If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal![/su_box]

r00t is a Linux Systems Administrator and open-source advocate with over ten years of hands-on experience in server infrastructure, system hardening, and performance tuning. Having worked across distributions such as Debian, Arch, RHEL, and Ubuntu, he brings real-world depth to every article published on this blog. r00t writes to bridge the gap between complex sysadmin concepts and practical, everyday application — whether you are configuring your first server or optimizing a production environment. Based in New York, US, he is a firm believer that knowledge, like open-source software, is best when shared freely.

Related Posts