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/sharesurvives Omarchy updates andpacman -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
/usruserspace. tar,gzip, and an editor (nano,nvim, or Kate). Omarchy already has them.~/.local/binon your$PATH. Omarchy usually sets this. Vanilla Arch might not.- The official Antigravity IDE
.tar.gzfrom Google, not a random mirror.
Check PATH first:
echo "$PATH" | tr ':' '\n' | grep -E '\.local/bin|/usr/local/bin'mkdir -p ~/.local/bin ~/.local/share ~/.local/share/applicationsIf ~/.local/bin isnât listed, add it to ~/.bashrc or ~/.zshrc:
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/:
# Extract to your home directory's local applications foldertar -xvf Antigravity\ IDE.tar.gz -C ~/.local/share//opt needs root, and ~/Applications works but freedesktop already looks in ~/.local/share. Check the folder:
ls -ld ~/.local/share/Antigravity\ IDEls ~/.local/share/Antigravity\ IDE/binYou want an executable in bin/ (mine was antigravity-ide). If ls says no such file, Google renamed the folder. Find it:
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:
sudo mkdir -p /optsudo tar -xvf Antigravity\ IDE.tar.gz -C /opt/sudo ln -sf "/opt/Antigravity IDE/bin/antigravity-ide" /usr/local/bin/antigravityThen point the desktop file at /opt/... instead of /home/chris/....
2. Create a symlink for CLI access
Link the executable so you can type antigravity:
ln -s "$HOME/.local/share/Antigravity IDE/bin/antigravity-ide" ~/.local/bin/antigravityDonâ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:
command -v antigravityls -l ~/.local/bin/antigravityantigravity --help || truecommand -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/binis added to your systemâs$PATHenvironment variable in your.bashrcor.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:
nano ~/.local/share/applications/antigravity.desktopPaste this, adjusting the paths if you extracted elsewhere:
[Desktop Entry]Name=Antigravity IDEComment=Google Antigravity Development EnvironmentExec="/home/chris/.local/share/Antigravity IDE/bin/antigravity-ide"Icon=/home/chris/.local/share/Antigravity IDE/resources/app/resources/linux/code.pngTerminal=falseType=ApplicationCategories=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:
find ~/.local/share/Antigravity\ IDE -iname '*.png' | headand pick one around 128Ă128. StartupWMClass groups the windows under one icon in Hyprland and the dock.
Update the desktop database:
update-desktop-database ~/.local/share/applications/ 2>/dev/null || trueSearch 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
antigravityThe 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:
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.desktopKeep 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 antigravityor=x11. If one works, add thatenvprefix to theExec=line. - Missing libraries: run
lddon the binary and look fornot found. On Arch thatâs usuallynss,alsa-liborgtk3. Install them withpacman. Donât copy.sofiles 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:
mv ~/.local/share/Antigravity\ IDE ~/.local/share/Antigravity\ IDE.baktar -xvf Antigravity\ IDE.tar.gz -C ~/.local/share/# when the new build is fine:rm -rf ~/.local/share/Antigravity\ IDE.bakIf 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