Using Antigravity on Linux

Getting Google's AI running on Linux

The first hurdle you will come to is getting Antigravity and Antigravity IDE to install

If you are a regular Linux user then this probably comes as no surprise to you.  It is common for Linux to be the poor cousin when it comes to desktop apps.

The Google instructions for Linux simply give you the compressed .tar.gz files to download but they don't come with an INSTALL or README and ./configure just doesn't work.

 

How to install

But do not give up, there is help at hand!
I found some great scripts on Gist by this great guy Mattezell.  You can find them here: https://gist.github.com/mattezell/febc265a34f9f60058fa48d0f000364d

Now if you are having trouble getting these to work, i.e. you are getting
set: Illegal option -o pipefail

You might find that it was because you ran it with sh instead of bash.  The scripts even state that it should use bash
#!/usr/bin/env bash
but I found that I was overriding it be prepending the instructions with sh. Answer prepend the install with bash

tar xzf Antigravity.tar.gz 
bash ./install-antigravity.sh ./Antigravity-x64

Browser Dev Tools

The next hurdle I came to was getting Chromium to accept remote debugging. 
My advice is that you install Chromium via apt. That's pretty much my advice on all applications, I've found snap and flatpack packages so flakey at times.  But I'm getting off course. Install Chromium as follows:

sudo apt install Chromium-browser Chromium-browser-l10n

I didn't find that the instructions to allow remote debugging by navigating your Chromium browser to  chrome://inspect/#remote-debugging worked.  So you might want to try running up Chromium from your terminal instead, like this:

google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/antigravity-profile

Antigravity still did not acknowledge that debugging was allowed so I clicked on the button that allowed me to continue without further checking.  The AI asked for permission for a whole number of things and finally debugged it itself and off I went!

I hope that this helps you to have a play with Antigravity.