Official guide to install Antigravity on your Linux system.
First, download the official package from the site below:
π Download Antigravity Official
Once downloaded, extract the archive using the following command:
tar -xzf Antigravity.tar.gzIt is standard practice to store manually installed programs in /opt or /usr/local. This command moves the extracted folder to /opt:
sudo mv Antigravity /opt/antigravityTo launch the app by simply typing antigravity in any terminal window, create a symbolic link to the binary:
sudo ln -sf /opt/antigravity/bin/antigravity /usr/local/bin/antigravityTo add Antigravity to your application menu with an icon, create a desktop entry:
-
Open the editor:
sudo nano /usr/share/applications/antigravity.desktop
-
Paste the following content:
[Desktop Entry] Name=Antigravity Comment=AI-powered IDE Exec=/opt/antigravity/antigravity --no-sandbox %F Icon=/opt/antigravity/resources/app/out/vs/workbench/contrib/antigravityCustomAppIcon/browser/media/antigravity/antigravity.png Terminal=false Type=Application Categories=Development;IDE; StartupWMClass=antigravity
-
Save and Update:
- In nano: Press
Ctrl+O, thenEnter, thenCtrl+Xto exit. - Run the following command to update the application database:
sudo update-desktop-database
- In nano: Press
If you want to update Antigravity to a newer version, follow these steps to ensure a clean install:
-
Remove Old Files: Delete the existing installation folder:
sudo rm -rf /opt/antigravity
-
Redo Installation: Follow Step 2 and Step 3 again with your new downloaded files. Since your
.desktopfile and symlinks are already set up, the app will start working immediately with the new version.
You can now launch Antigravity from your application launcher or by typing antigravity in the terminal.