Antigravity installation:
#
# create user:
#
root@rocky:~# useradd --home-dir /home/kmaau --create-home --shell /bin/bash kmaau
root@rocky:~# grep kmaau /etc/group /etc/passwd
/etc/group:kmaau:x:1000:
/etc/passwd:kmaau:x:1000:1000::/home/kmaau:/bin/bash
root@rocky:~# id -a kmaau
uid=1000(kmaau) gid=1000(kmaau) groups=1000(kmaau)
root@rocky:~# su - kmaau
kmaau@rocky:~$ curl -fsSL https://antigravity.google/cli/install.sh | bash
⠋ Detecting system environment...
✓ Platform detected: linux_amd64
⠋ Querying release repository...
✓ Latest available version: 1.1.14
⠋ Downloading release package...
✓ Download complete and checksum verified.
⠋ Extracting binary from archive...
⠋ Configuring shell environment...
ERROR: logging before google.Init: I0818 07:57:36.563625 1 installer.go:27] Running Antigravity CLI setup...
ERROR: logging before google.Init: I0818 07:57:36.566147 1 installer.go:147] Appending PATH export to profile /home/kmaau/.bashrc: export PATH="/home/kmaau/.local/bin:$PATH"
ERROR: logging before google.Init: I0818 07:57:36.566575 1 installer.go:184] Successfully updated shell profile: /home/kmaau/.bashrc
ERROR: logging before google.Init: I0818 07:57:36.566920 1 installer.go:147] Appending PATH export to profile /home/kmaau/.profile: export PATH="/home/kmaau/.local/bin:$PATH"
ERROR: logging before google.Init: I0818 07:57:36.567067 1 installer.go:184] Successfully updated shell profile: /home/kmaau/.profile
Warning: /home/kmaau/.local/bin is not present in your active PATH.
To use the 'agy' CLI globally, please manually add it to your shell profile:
echo 'export PATH="/home/kmaau/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
[[green:✅]] Antigravity CLI binary placed successfully at /home/kmaau/.local/bin/agy
Note: The binary is installed, but it is not in your active PATH. Please follow the instructions above to add it, then restart your terminal session.
kmaau@rocky:~$ ls -l ${HOME}/.local/bin/agy
-rwxr-xr-x 1 kmaau kmaau 206737952 Aug 18 07:57 /home/kmaau/.local/bin/agy
#
# Antigravity added the executable to ${PATH}:
#
kmaau@rocky:~$ cat ${HOME}/.profile
[[blue:## ~/.profile: executed by the command interpreter for login shells.]]
[[blue:## This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login]]
[[blue:## exists.]]
[[blue:## see /usr/share/doc/bash/examples/startup-files for examples.]]
[[blue:## the files are located in the bash-doc package.]]
[[blue:]]
[[blue:## the default umask is set in /etc/profile; for setting the umask]]
[[blue:## for ssh logins, install and configure the libpam-umask package.]]
[[blue:##umask 022]]
[[blue:]]
[[blue:## if running bash]]
[[blue:if [ -n "$BASH_VERSION" ]; then]]
[[blue: # include .bashrc if it exists]]
[[blue: if [ -f "$HOME/.bashrc" ]; then]]
[[blue: . "$HOME/.bashrc"]]
[[blue: fi]]
[[blue:fi]]
[[blue:]]
[[blue:## set PATH so it includes user's private bin if it exists]]
[[blue:if [ -d "$HOME/bin" ] ; then]]
[[blue: PATH="$HOME/bin:$PATH"]]
[[blue:fi]]
[[blue:]]
[[blue:## set PATH so it includes user private bin if it exists]]
[[blue:if [ -d "$HOME/.local/bin" ] ; then]]
[[blue: PATH="$HOME/.local/bin:$PATH"]]
[[blue:fi]]
[[blue:## Added by Antigravity CLI installer]]
[[blue:export PATH="/home/kmaau/.local/bin:$PATH"]]
kmaau@rocky:~$ source ${HOME}/.profile
kmaau@rocky:~$ which agy
/home/kmaau/.local/bin/agy
kmaau@rocky:~$ ldd $(which agy)
linux-vdso.so.1 (0x00007c1eb33e5000)
libresolv.so.2 => /usr/lib/x86_64-linux-gnu/libresolv.so.2 (0x00007c1eb33c4000)
libpthread.so.0 => /usr/lib/x86_64-linux-gnu/libpthread.so.0 (0x00007c1eb33bf000)
libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007c1ea40da000)
libdl.so.2 => /usr/lib/x86_64-linux-gnu/libdl.so.2 (0x00007c1eb33ba000)
librt.so.1 => /usr/lib/x86_64-linux-gnu/librt.so.1 (0x00007c1eb33b5000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007c1ea3e00000)
/lib64/ld-linux-x86-64.so.2 (0x00007c1eb33e7000)
▄▀▀▄
▀▀▀▀▀▀
▀▀▀▀▀▀▀▀ ▄▀▀ ▀▀▄ ▄▀▀ ▀▀▄
Welcome to the Antigravity CLI. You are currently not signed in.
⣾ Signing in…
Select login method:
- Google OAuth
- Use a Google Cloud project
[Use arrow keys to navigate, Enter to select]