antigravity-notifier is a small program that Google Antigravity runs through its hooks, on macOS, Windows or Linux. Pair it with your phone and the moments Antigravity needs you arrive as a push: allow or deny a command, answer a question, or send the next instruction when it's done. Nothing runs in the background, and it works in any terminal.
01Install
macOS and Linux
Windows (PowerShell)
Windows support is in beta.
Homebrew
Anyone with Node.js
Each line installs antigravity-notifier and then pairs it with your phone, which also adds its hooks to Antigravity. It adds one named group, antigravity-notifier, to ~/.gemini/config/hooks.json. Everything else in that file stays as it was, a one-time backup sits next to it, and there is nothing to approve: the hooks run from your next session.
02Pair your phone
Once paired, every Antigravity session on this computer can reach your phone, however you start it. There are two ways to pair.
Scan a QR code from the terminal
Run antigravity-notifier or antigravity-notifier pair. It prints a QR code and a link: scan the code with your phone's camera, or open the link on the phone. No app yet? The link takes you to the store first. Got the app? The phone connects by itself.
Type the code from the app
Open Antigravity Notifier on your phone and add a computer. The app shows a 6-digit code and the exact line to run, with the code already in it. Already installed? antigravity-notifier pair plus the code is enough. Otherwise every install line takes the code and installs and pairs in one go:
curl -fsSL https://antigravitynotifier.com/install.sh | sh -s 482913irm https://antigravitynotifier.com/install.ps1 | iex; antigravity-notifier pair 482913brew trust --formula touch-tap/tap/antigravity-notifier && brew install touch-tap/tap/antigravity-notifier && antigravity-notifier pair 482913npx @touchtap/antigravity-notifier pair 482913Swap 482913 for the code on your phone. Codes last 24 hours, and the app makes a fresh one when it runs out.
03What you get
With a phone paired, you get:
- Antigravity has finished: a push with its last message the moment a turn ends.
- Commands: allow a command once or for the rest of the conversation, or deny it from your phone. Deny with a note and Antigravity reads it.
- Questions: pick an answer, several, or type your own, when Antigravity asks.
- A follow-up: right after Antigravity finishes, send the next instruction from the phone.
- A lock screen card (iPhone): the step Antigravity is on and the files it's changing.
Typed something in the last 30 seconds? Nothing waits: Antigravity asks you on screen as usual. Away from the keyboard, or screen locked? A command waits for your phone, up to a limit you choose (10 minutes at most), and stops waiting the moment you touch the keyboard. Walked away while Antigravity was already asking at your computer? Your phone gets a heads-up.
04Commands
antigravity-notifierPair this computer if it isn't yet, otherwise show its statusantigravity-notifier pairShow a QR code and link to pair a phone, and wait for itantigravity-notifier pair CODEPair with the 6-digit code from the appantigravity-notifier doctorCheck the hooks, the pairing, the connection and presence detectionantigravity-notifier testSend a test notificationantigravity-notifier devicesList paired phones, or revoke one with devices revoke NAMEantigravity-notifier config showShow this computer's settingsantigravity-notifier syncFetch settings changed on the phone nowantigravity-notifier setupReinstall the hooks (after moving the binary)antigravity-notifier unlockBuy a licence for this computer in the browser (--lifetime for the one-off plan)antigravity-notifier activate KEYApply a licence key you already have to this computerantigravity-notifier licenceShow this computer's licence and the computers using it05Settings
Most settings can be changed from the phone, too. A few worth knowing:
antigravity-notifier config set hold_ceiling_seconds 300How long Antigravity waits for your phone when you're away, in seconds (30 to 600 for a command, default 600)antigravity-notifier config set quiet_hours 22:00-08:00Nothing goes to your phone during these hours; Antigravity asks on screen as usualantigravity-notifier config set stop_hold_seconds 0How long you get to send a follow-up after Antigravity finishes (0 turns it off, default 120)antigravity-notifier config set phone_approvals allWhich calls wait for your phone: commands (default), all (file edits too) or offantigravity-notifier pair sends a few anonymous setup events (paired, failed and why, how it was installed, the OS). Hooks send none. ANTIGRAVITY_NOTIFIER_NO_ANALYTICS=1 or DO_NOT_TRACK=1 turns them off.
06Updates
To update, run antigravity-notifier upgrade, or the install line again: it replaces the binary in place and your pairing stays put. With Homebrew, brew upgrade antigravity-notifier. With npm, npm i -g @touchtap/antigravity-notifier, or just keep using npx, which always fetches the latest.
07Uninstall
This removes the antigravity-notifier hook group from ~/.gemini/config/hooks.json, revokes the pairings and deletes local state. Then delete the binary: ~/.local/bin/antigravity-notifier on macOS and Linux, %LOCALAPPDATA%\Programs\antigravity-notifier on Windows, or brew uninstall antigravity-notifier.
Erases this computer and its pairings from the relay server too, then uninstalls.