All guides

Pair your phone with Antigravity on Mac, Windows or Linux

Updated 27 November 2026 · 6 min read

To pair your phone with Google Antigravity, install the Antigravity Notifier app on your iPhone or Android phone, then connect it to the free antigravity-notifier command line tool on your computer. In the app, add a computer: it shows a 6-digit code and the exact line to run, such as antigravity-notifier pair 482913, which installs and pairs in one go. Or run antigravity-notifier pair on the computer and scan the QR code it prints. It works the same on Mac, Windows and Linux and takes about a minute.

01What pairing gives you

Once a phone is paired, every agy session on that computer can reach you:

  • An "Antigravity has finished" push with its last message, the moment a turn ends.
  • Commands to allow once, allow for the rest of the conversation, or deny with a note.
  • Antigravity's questions, answered by picking one option, several, or typing your own.
  • A follow-up instruction you can send right after Antigravity finishes.
  • On iPhone, a lock screen card while Antigravity works: the current step and the files and lines changed.

Antigravity Notifier is an independent tool made by TouchTap Ltd. It is not made by, affiliated with or endorsed by Google. It works through Antigravity's hooks, so it covers the agy command line in any terminal and over SSH. The desktop app and IDE aren't supported yet.

02Before you start

You need:

  • The agy command line installed on the computer.
  • The Antigravity Notifier app on your phone, from the App Store or Google Play. If you scan the QR code before installing the app, the link takes you to the store first.
  • A network connection on both devices.

The app needs a subscription or a one-off purchase. See pricing.

03Two ways to pair

Both routes end in the same place. Pick whichever is easier.

RouteThe code is shown onBest when
Type the code from the appThe phone, as 6 digitsAlmost always: one line installs and pairs
Scan a QR code from the terminalThe computer, as a QR code and a linkYou already installed antigravity-notifier, or you'd rather scan

Codes last 24 hours, and the app makes a fresh one when the old one runs out.

04Route 1: type the code from the app

  1. Open Antigravity Notifier on your phone and add a computer.
  2. The app shows a 6-digit code and the line to run, with the code already in it.
  3. Run that line in a terminal on the computer.

On Mac or Linux:

curl -fsSL https://antigravitynotifier.com/install.sh | sh -s 482913

On Windows, in PowerShell (Windows support is in beta):

irm https://antigravitynotifier.com/install.ps1 | iex; antigravity-notifier pair 482913

With Homebrew (macOS or Linux):

brew trust --formula touch-tap/tap/antigravity-notifier && brew install touch-tap/tap/antigravity-notifier && antigravity-notifier pair 482913

With Node.js, on any system:

npx @touchtap/antigravity-notifier pair 482913

Use your own code in place of 482913. If antigravity-notifier is already installed, antigravity-notifier pair 482913 is enough.

05Route 2: scan a QR code from the terminal

  1. Run antigravity-notifier pair (or just antigravity-notifier, which pairs a computer that isn't paired yet). If it isn't installed, any install line above without the code installs it and starts pairing.
  2. The terminal prints a QR code and a link.
  3. Scan the QR code with your phone's camera, or open the link on the phone.
  4. If the app is already on the phone, it connects by itself. If not, the link takes you to the App Store or Google Play first.
  5. The terminal confirms the phone is paired.

06What pairing changes on the computer

Pairing also installs the hooks. antigravity-notifier adds one named group, antigravity-notifier, to ~/.gemini/config/hooks.json, keeps a one-time backup of the file beside it, and touches nothing else. If the file isn't valid JSON, it refuses to change it rather than overwrite it. Antigravity has no trust step, so the hooks run from your next agy session; a session that is already open won't pick them up.

07Check that it works

Right after pairing, the phone gets a test notification you can answer, and the terminal shows your answer. After that, two commands confirm everything:

antigravity-notifier doctor   # hooks, pairing, connection, presence detection
antigravity-notifier test     # sends a test notification to your phone

Then try it for real. Start a new agy session, give it a small task, and step away from the keyboard. When it finishes, your phone gets a push.

antigravity-notifier notices when you're at the computer. If you typed in the last 30 seconds on an unlocked screen, nothing waits for the phone and Antigravity asks you on screen as usual. Step away, or lock the screen on macOS or Linux, to see the phone take over.

08Pairing more than one device

  • Several computers, one phone. Repeat the steps on each computer. A work Mac, a Linux server and a Windows laptop can all reach the same phone.
  • Several phones, one computer. Pair each phone with the same computer, up to three.
  • See or remove phones. antigravity-notifier devices lists paired phones, and antigravity-notifier devices revoke <name> removes one.

09Remote machines

The hook runs where agy runs, so on a server you pair the server, not your laptop. Route 1 is simplest over SSH: get the code from the app and paste its line into the same SSH session you use for agy. No screen is needed on the server.

10If pairing does not work

  • The code isn't accepted. Codes last 24 hours. Copy the line the app shows right now, or use the QR code route instead.
  • The QR code does not scan. Make the terminal window larger, or open the printed link on the phone.
  • antigravity-notifier is not found after installing. Open a new terminal so your PATH updates.
  • It says hooks.json isn't valid JSON. Fix the file (a missing comma or bracket is common), then run antigravity-notifier setup.
  • Paired, but no push arrives. Start a new agy session, run antigravity-notifier doctor, then antigravity-notifier test, and check that notifications are allowed for the app in your phone's settings. During quiet hours, if you set them, nothing goes to the phone.

11FAQ

Do I need an account to pair?

No. Antigravity Notifier has no accounts, and pairing doesn't involve your Google account. Notifications pass through a relay that deletes them within 48 hours. See the Privacy Policy.

How long does a pairing code last?

24 hours. The app makes a fresh code when the old one runs out.

Is this the same as Google's Remote Control?

No. Remote Control is Google's own feature: you turn it on in the desktop app or with /remote-control in the CLI, then open the session in a phone browser signed in with the same Google account. It's free and needs no pairing. Antigravity Notifier pairs a native phone app with the agy command line through hooks. You can use both.

Does pairing change my Antigravity settings?

It adds the antigravity-notifier group to ~/.gemini/config/hooks.json and leaves every other group and key alone. antigravity-notifier uninstall removes exactly that group, revokes the pairings and deletes its local files.

How do I unpair a phone?

Run antigravity-notifier devices to see the paired phones, then antigravity-notifier devices revoke <name>. antigravity-notifier forget also erases the computer and its pairings from the server.

Antigravity Notifier Get a push on your phone when Antigravity finishes or needs you, then allow, deny or answer from there. The antigravity-notifier command line tool is free on Mac, Windows and Linux.