Gemini CLI is Google's open-source AI agent for the terminal, which you start in a folder and ask in plain words to read and edit the files there; since June 18, 2026 it serves work accounts and paid API keys, and personal Google accounts use Antigravity CLI instead.
Since June 2026, personal accounts use Antigravity CLI
Gemini CLI used to work free with a personal Google account. On June 18, 2026, Google stopped serving it to free accounts and to Google AI Pro and Ultra, and moved those users to Antigravity CLI.
| Your account | The CLI to use | Start it with |
|---|---|---|
| A work account on Gemini Code Assist Standard or Enterprise, or Code Assist for GitHub on Google Cloud | Gemini CLI | gemini |
| A paid Gemini API or Vertex AI key | Gemini CLI | gemini |
| A free personal Google account | Antigravity CLI | agy |
| Google AI Pro or Ultra | Antigravity CLI, with higher limits | agy |
Google says Gemini CLI isn't tuned for its newest Gemini models and points to Antigravity for them. Both run on a Mac and install from Google's docs.
You ask in plain words, and it edits your drafts
Start Gemini CLI in a folder of drafts, and it reads the files, edits them and can run commands.
Tighten the intro of issue-12.md and keep my headings.
Your standing instructions go in a file called GEMINI.md: your voice, your house style, the folders to leave alone. Gemini CLI sends it with every request. It reads one in your home folder, in the project folder and in the folders above it.
# Articles
- Plain, friendly sentences. No hype words.
- US spelling. Write out numbers under ten.
- Headings in sentence case, with no colons.
- Don't edit the research notes in notes/.
If you also run Codex or Cursor Agent, keep one AGENTS.md for all of them. Ask Gemini CLI to set context.fileName in its settings to both AGENTS.md and GEMINI.md, and it reads both.
What trips people up: Gemini CLI's own checkpoints are off until you turn them on. Once they're on, it saves a snapshot before each file edit you approve, in its own hidden history rather than your project's Git, and /restore puts the files back.
Moving to Antigravity CLI keeps your instruction files
- The first time you start Antigravity CLI, it offers to bring your Gemini CLI settings across.
- GEMINI.md and AGENTS.md keep working as they are.
- Project skills move from
.gemini/skills/to.agents/skills/, the folder Codex and Cursor read too. Move the folder yourself, or Antigravity CLI won't find them. - Google says the move doesn't bring every Gemini CLI feature across.
In Flywrite, either one runs under the page
Gemini CLI and Antigravity CLI run in Flywrite's terminal like any CLI agent: if it runs in your Mac's terminal, it runs under the page you're writing. Add either one as a launcher in Settings → Terminal.
Neither sees your selection on its own. Select the lines and press ⌘⇧L to send them to the terminal.
Flywrite saves a checkpoint of the whole project when Claude Code starts in its terminal, and when Cursor Agent starts after its one-time setup. Codex and other CLI agents don't trigger it, so press ⌘⇧C before you start them.
GEMINI.md is a plain Markdown file, so it opens and edits like any draft. More in The terminal.
Questions
Is Gemini CLI still free?
Not for personal accounts. Since June 18, 2026, free users and Google AI Pro and Ultra subscribers use Antigravity CLI instead, which works with a free personal Google account. Gemini CLI still works with a work account on Gemini Code Assist Standard or Enterprise, or with a paid Gemini API key.
What's the difference between Gemini CLI and Antigravity CLI?
Both are Google's agents for the terminal. Gemini CLI, started with gemini, is the open-source original, now for work accounts and paid API keys. Antigravity CLI, started with agy, replaced it for personal accounts and reads the same GEMINI.md and AGENTS.md files.
- Gemini CLI docs. Checked .
- Gemini CLI on GitHub. Checked .
- Google Developers Blog: Transitioning Gemini CLI to Antigravity CLI. Checked .
- Gemini CLI docs: Context files (GEMINI.md). Checked .
- Gemini CLI docs: Checkpointing. Checked .
- Google Antigravity CLI. Checked .
- Antigravity docs: Migrating from Gemini CLI. Checked .
- Antigravity docs: Plans. Checked .
- AGENTS.md. Checked .
- OpenAI: Build skills. Checked .
- Cursor docs: Agent Skills. Checked .
- Flywrite docs: Use the terminal under the page. Checked .
- Flywrite docs: Undo changes with checkpoints. Checked .