Connect Antigravity CLI to Homespun
Fastest way: hand this to your AI
Set me up with Homespun: run `npm i -g @homespunapps/cli`, then `homespun agent register --start --name home` and show me the approval link it prints. Once I tell you I have approved it, run `homespun agent register --resume`. Then read https://homespun.dev/skills/homespun/SKILL.md and ask me what app I want to build.
Paste it into Claude Code, Cursor, Codex, Windsurf, or any other coding agent. It installs the CLI, hands you a link to approve (open it on any device, your phone included) and then asks what you want to build. It works the same whether the agent runs on this machine or in the cloud.
That is the whole setup for Antigravity CLI. It installs the Homespun CLI, gets you signed in, and then has the full command surface: deploy an app, read its data back, watch it live.
Prefer to run the commands yourself? They are on the Homespun CLI page, which is the same setup done by hand.
Looking for Gemini CLI? Google retired it on 18 June 2026 and replaced it with Antigravity CLI, which is what this page covers. Gemini CLI stopped serving requests on the free tier, on Google AI Pro and Ultra, and for Gemini Code Assist individuals; only Standard and Enterprise licences still reach it. Homespun does not care which one you run: the prompt above works in any agent with a shell, including a Gemini CLI that still answers for you.
Neither one is the Gemini phone app. That app has no terminal, so it can install nothing. If that is where you are, use Claude instead: it takes a connector URL directly and works on a phone.
No API key and no client secret anywhere in this flow: the sign-in is a link you approve in a browser, and the CLI stores the key itself.
If something goes wrong
The two most common snags are a blocked pop-up (the sign-in opens in a new window) and a shell that cannot find the homespun binary after installing it. The full troubleshooting list covers the rest, and the docs site explains what a connection can and cannot do.
What to build first
Describe what you want in your own words and your AI builds it. If you would rather start from something proven, install one from the template gallery and change it from the chat.