Antigravity CLI on a Raspberry Pi

Whether Antigravity CLI runs on a Raspberry Pi, and how to set it up there: install, sign in without a browser, keep it running. Or skip the hardware with an always-on EnvHaven workspace.

Updated November 23, 2026 · Checked against Antigravity CLI 1.4.7 in EnvHaven v1.9.0

Antigravity CLI runs on a Raspberry Pi with a 64-bit operating system: its installer maps arm64 Linux to a linux_arm64 build. (source) What a Pi gives it is a small machine that never sleeps; the work is the same as on any remote server: signing in without a browser, keeping the session alive, and reaching it from elsewhere.

The always-on machine without the hardware

An EnvHaven workspace is the machine a Pi stands in for, without the hardware: no SD card to wear out, no power cut to recover from, and no port to open on your home connection.

  1. Open your workspace in any browser. It is a Linux server of its own, always on.
  2. Tap Launch, choose Antigravity CLI and tap Sign in: it starts Antigravity CLI, which asks you to sign in the first time. For an API key, choose Set key instead and paste GEMINI_API_KEY; the workspace keeps it write-only.
  3. Start it with one tap: signed in, Antigravity CLI gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (1.4.7), so there is nothing to install or update.
  4. Give it a task. The image launches agy with --dangerously-skip-permissions, and sets the Gemini provider whenever a GEMINI_API_KEY is present.
  5. Close the tab. The session keeps running, and you reach it from any device without opening a port at home.

On a Raspberry Pi

Prepare the Pi. A Pi 4 or 5 with a 64-bit Raspberry Pi OS (Lite is enough), SSH turned on, and a regular user to run the agent.

Install Antigravity CLI.

curl -fsSL https://antigravity.google/cli/install.sh | bash

Sign in without a browser on the Pi.

  • Run agy and sign in with your Google account. Over SSH it prints a URL; open it on any device and paste the code back.
  • For a Gemini API key, set "modelProvider": "gemini" in ~/.gemini/antigravity-cli/settings.json and export GEMINI_API_KEY; the key alone does nothing, and GOOGLE_API_KEY is ignored.

Keep it running after you disconnect.

tmux new -s antigravity-cli
agy --dangerously-skip-permissions
# detach: Ctrl+B, then D. Come back with: tmux attach -t antigravity-cli

Reach it from elsewhere. SSH works on your home network; from outside it you need a VPN such as WireGuard or Tailscale, or a port opened on your router.