Skip to content

How to Install Antigravity IDE on Arch Linux or Omarchy from a Tarball

Extract Google's Antigravity IDE tarball on Arch Linux or Omarchy, add it to your PATH, and create a desktop launcher. No AUR package needed.

On this page
  1. Why a tarball instead of pacman or the AUR?
  2. Prerequisites
  3. 1. Extract the archive
  4. Variant: extract to /opt (multi-user)
  5. 2. Create a symlink for CLI access
  6. 3. Create a desktop entry (application shortcut)
  7. First launch
  8. Troubleshooting
  9. antigravity: command not found
  10. The launcher icon is missing or does nothing
  11. It opens, then immediately closes
  12. “Another instance is running” after a crash
  13. Upgrading to a newer tarball
  14. Wrap-up

Google’s Antigravity IDE ships a Linux tarball. On Arch Linux and Omarchy (including Omarchy 4 “Quattro”), that’s the cleanest install: it lives in your home directory, you skip a half-broken AUR package, and you can delete it later without touching the system.

Here’s how I extract it into ~/.local/share, put antigravity on your $PATH, add a .desktop launcher for Hyprland, Rofi, Walker or any menu, and fix the usual first launch problems.

Official download: https://antigravity.google/download

Also see How to Change Your Cursor Theme in Omarchy and How to Install DaVinci Resolve on Omarchy.

Why a tarball instead of pacman or the AUR?

It’s habit to reach for pacman or yay, but not for this one:

  • The tarball is what Google tests. AUR PKGBUILDs lag, rename binaries, or assume paths that don’t exist.
  • A per-user install keeps a heavy IDE out of Omarchy’s system.
  • A tarball in ~/.local/share survives Omarchy updates and pacman -Syu. For a new version, extract over the old one (or next to it) and keep your config.

You need glibc, a working GPU stack (Mesa or NVIDIA), and a few gigabytes free under $HOME.

Prerequisites

  • x86_64 Arch Linux, Omarchy, or another Arch-based system with a normal /usr userspace.
  • tar, gzip, and an editor (nano, nvim, or Kate). Omarchy already has them.
  • ~/.local/bin on your $PATH. Omarchy usually sets this. Vanilla Arch might not.
  • The official Antigravity IDE .tar.gz from Google, not a random mirror.

Check PATH first:

Terminal window
echo "$PATH" | tr ':' '\n' | grep -E '\.local/bin|/usr/local/bin'
mkdir -p ~/.local/bin ~/.local/share ~/.local/share/applications

If ~/.local/bin isn’t listed, add it to ~/.bashrc or ~/.zshrc:

Terminal window
export PATH="$HOME/.local/bin:$PATH"

Then open a new terminal (or source the file). Hyprland gets its environment from your login shell or env lines in ~/.config/hypr/, so if the CLI works but the launcher doesn’t, that’s usually why.

1. Extract the archive

Extract the .tar.gz into ~/.local/share/:

Terminal window
# Extract to your home directory's local applications folder
tar -xvf Antigravity\ IDE.tar.gz -C ~/.local/share/

/opt needs root, and ~/Applications works but freedesktop already looks in ~/.local/share. Check the folder:

Terminal window
ls -ld ~/.local/share/Antigravity\ IDE
ls ~/.local/share/Antigravity\ IDE/bin

You want an executable in bin/ (mine was antigravity-ide). If ls says no such file, Google renamed the folder. Find it:

Terminal window
find ~/.local/share -maxdepth 2 -iname '*antigravity*'

and use that path from here on. A wrong Exec= line is the number one reason it doesn’t show up in the menu.

Variant: extract to /opt (multi-user)

If several accounts need the IDE:

Terminal window
sudo mkdir -p /opt
sudo tar -xvf Antigravity\ IDE.tar.gz -C /opt/
sudo ln -sf "/opt/Antigravity IDE/bin/antigravity-ide" /usr/local/bin/antigravity

Then point the desktop file at /opt/... instead of /home/chris/....

Link the executable so you can type antigravity:

Terminal window
ln -s "$HOME/.local/share/Antigravity IDE/bin/antigravity-ide" ~/.local/bin/antigravity

Don’t copy the binary. It loads files relative to its install folder, so a copy dies looking for resources/ or chrome_crashpad_handler.

Confirm it:

Terminal window
command -v antigravity
ls -l ~/.local/bin/antigravity
antigravity --help || true

command -v should print /home/<you>/.local/bin/antigravity. Nothing means PATH is still wrong. If the app exits right away, see troubleshooting (usually libnss, the GPU sandbox, or Wayland/X11).

Note: Make sure ~/.local/bin is added to your system’s $PATH environment variable in your .bashrc or .zshrc.

On Omarchy I also add a Hyprland env line so GUI launched apps get the same PATH (the file is .conf or .lua depending on your Omarchy version). It needs ~/.local/bin for non-interactive launches, not just login shells.

3. Create a desktop entry (application shortcut)

To show the IDE in your launcher (Rofi, dmenu, Walker, GNOME, KDE, or Omarchy’s), create a .desktop file:

Terminal window
nano ~/.local/share/applications/antigravity.desktop

Paste this, adjusting the paths if you extracted elsewhere:

[Desktop Entry]
Name=Antigravity IDE
Comment=Google Antigravity Development Environment
Exec="/home/chris/.local/share/Antigravity IDE/bin/antigravity-ide"
Icon=/home/chris/.local/share/Antigravity IDE/resources/app/resources/linux/code.png
Terminal=false
Type=Application
Categories=Development;IDE;
StartupWMClass=antigravity-ide

(Remember to replace chris with your actual Linux username).

Hard-code the full path. Not every launcher expands $HOME in Exec=. Icon= must point at a real PNG/SVG. If code.png is missing:

Terminal window
find ~/.local/share/Antigravity\ IDE -iname '*.png' | head

and pick one around 128×128. StartupWMClass groups the windows under one icon in Hyprland and the dock.

Update the desktop database:

Terminal window
update-desktop-database ~/.local/share/applications/ 2>/dev/null || true

Search for “Antigravity” in your launcher. If it’s not there, log out and back in so the session re-reads ~/.local/share/applications.

First launch

Terminal window
antigravity

The first start can be slow while it builds caches under ~/.config and ~/.cache.

On NVIDIA with Hyprland, use current proprietary drivers, make sure nvidia-smi works, and remove any leftover nomodeset. If you needed it just to get a display, read How to install Omarchy ISO with nomodeset first.

Troubleshooting

antigravity: command not found

It’s PATH. Check the symlink (ls -l ~/.local/bin/antigravity). On fish, run fish_add_path ~/.local/bin. If your login manager doesn’t source .bashrc, put PATH in ~/.profile or your compositor env file.

The launcher icon is missing or does nothing

The Exec= path is wrong, or the file isn’t executable:

Terminal window
ls -l "$HOME/.local/share/Antigravity IDE/bin/antigravity-ide"
chmod +x "$HOME/.local/share/Antigravity IDE/bin/antigravity-ide"
desktop-file-validate ~/.local/share/applications/antigravity.desktop

Keep the quotes around the Exec= path because of the space in Antigravity IDE.

It opens, then immediately closes

Run it from a terminal to see the errors:

  • GPU / sandbox: test once with antigravity --disable-gpu-sandbox. If that’s the only way it starts, fix your driver or user namespace setup instead of living on the flag.
  • Wayland: try env ELECTRON_OZONE_PLATFORM_HINT=auto antigravity or =x11. If one works, add that env prefix to the Exec= line.
  • Missing libraries: run ldd on the binary and look for not found. On Arch that’s usually nss, alsa-lib or gtk3. Install them with pacman. Don’t copy .so files from another distro.

“Another instance is running” after a crash

Stale lock files under ~/.config. Close every window, check ps aux | grep -i antigravity, then delete only the lock/socket files, not your whole config.

Upgrading to a newer tarball

Extract the new archive to a temporary folder first and make sure bin/ is still there. Then swap it in:

Terminal window
mv ~/.local/share/Antigravity\ IDE ~/.local/share/Antigravity\ IDE.bak
tar -xvf Antigravity\ IDE.tar.gz -C ~/.local/share/
# when the new build is fine:
rm -rf ~/.local/share/Antigravity\ IDE.bak

If Google renames the binary, update the symlink and desktop file.

Wrap-up

That’s it. No root, no AUR, and uninstalling is just rm -rf plus deleting the desktop file.

Next up: Arch Linux with NVIDIA Drivers workstation setup or DaVinci Resolve on Omarchy.

Best regards,

The Linux IT Guy