Gemini CLI
Google's free terminal coding agent — being sunset June 18, 2026 in favor of Antigravity CLI
Developers on free tier who want to migrate gracefully to Antigravity CLI before June 18, 2026
Anyone starting fresh — use Antigravity CLI instead, which replaces this tool
Gemini CLI in context: product setup, workflows, and operations
Gemini CLI is Google’s terminal-native AI coding agent, powered by the Gemini model family. Where most AI tools in this space charge a subscription before you can do anything meaningful, Gemini CLI offers 1,000 requests per day for free. For developers who want to experiment seriously with agentic coding workflows before committing budget, that’s a real differentiator.
⚠️ Shutdown countdown — 11 days left (June 7, 2026)
On June 18, Gemini CLI stops working for Google AI Pro, Ultra, and free-tier users. If you haven’t migrated, you have 11 days. The migration takes about 15 minutes.
The replacement is Antigravity CLI (agy): install it, run agy plugin import gemini, rename GEMINI.md → AGENTS.md, move .gemini/skills/ → .agents/skills/, and update any CI/CD scripts that call gemini to call agy instead.
Enterprise (Gemini Code Assist Standard/Enterprise) license holders keep access indefinitely and don’t need to migrate on this timeline.
Background: Why Gemini CLI is being discontinued (May 19, 2026)
At Google I/O, Google announced that Gemini CLI is being transitioned into Antigravity CLI, part of the unified Antigravity 2.0 platform. This is a full sunset, not a rename.
Timeline: On June 18, 2026, Gemini CLI stops serving requests for Google AI Pro and Ultra subscribers, plus free-tier users. Enterprise (Gemini Code Assist Standard/Enterprise) customers retain access, but Google has made clear that Antigravity CLI is the forward path for everyone.
What to do if you’re using Gemini CLI today: Switch to Antigravity CLI. The new CLI is built in Go (faster), supports asynchronous multi-agent workflows, and carries over the core features you rely on — Agent Skills, Hooks, Subagents, and Extensions (now called Antigravity Plugins). The transition is designed to be straightforward, not a full migration from scratch.
Why the change: Google is consolidating its developer tooling under a single Antigravity platform with four surfaces: desktop app, CLI, SDK, and Managed Agents API. Running two separate CLIs (Gemini CLI and the Antigravity CLI baked into the IDE) was a maintenance burden. The unification is the right call even if the timing is abrupt.
The rest of this review covers Gemini CLI’s capabilities as they stand today, for reference during any transition work. If you’re starting fresh, skip this page and go directly to Antigravity CLI.
It works the way you’d expect a modern coding agent to work: you give it a task in natural language, it reads your codebase, forms a plan, and executes multi-step operations — creating files, running commands, iterating on failures. The March 2026 Plan Mode release sharpened this considerably. Before executing, the agent now surfaces its plan explicitly, letting you review and confirm what it intends to do before any changes are made. This is the right design for a tool operating at the level of file writes and shell commands.
What makes it different
The free tier is the obvious headline. 1,000 requests per day is enough for serious daily use on real projects, not just toy experiments. Competing tools like Claude Code require a paid subscription to access the underlying model; Gemini CLI gives you full access to Gemini’s capabilities before you spend anything. For solo developers, students, and founders evaluating whether agentic coding fits their workflow, this removes a significant barrier.
The Google lineage also matters for certain use cases. Gemini models have access to Google Search grounding when needed, which means the agent can pull in current documentation or check recent API changes rather than relying solely on training data. This is practically useful for codebases that depend on fast-moving libraries.
Plan Mode
The March 2026 Plan Mode launch addressed the most common critique of agentic tools: opacity. Previous versions of Gemini CLI (and most competitors) would execute changes with minimal explanation of intent. Plan Mode surfaces the agent’s reasoning and intended actions before they run. You see what it’s going to do, approve or modify the approach, and then let it execute. For anything beyond trivial tasks, this is the right default.
Comparison with Claude Code
The most common search pairing in this space is Gemini CLI vs Claude Code, which is a fair comparison. Both are terminal-native agents. Claude Code is widely regarded as slightly stronger on complex, large-codebase tasks — the context handling and multi-step reasoning are excellent. But Claude Code requires at minimum a $20/mo Claude Pro subscription, and heavy use pushes costs higher via API billing. Gemini CLI’s free tier means you can run similar workflows at zero cost, accepting some ceiling on model quality for that trade.
If budget is unconstrained and you’re working on complex production codebases, Claude Code remains the reference point. If you’re building a side project, learning agentic workflows, or simply evaluating the category before committing spend, Gemini CLI is the obvious starting point.
Limitations
The free tier has a daily cap — 1,000 requests sounds generous until you run a few long agentic sessions. Complex tasks can consume dozens of requests in a single session. Heavy users will eventually need to consider the paid tier or switch tools.
Documentation and ecosystem tooling are thinner than Claude Code. Google’s developer experience has historically been uneven, and Gemini CLI is still maturing. Some rough edges remain in areas like context management on very large codebases.
Who it’s for
Developers who want to explore agentic coding without upfront subscription cost. Engineers evaluating the Gemini vs Claude capabilities question on their own workloads. Technical founders on tight budgets who still want serious AI tooling.
Verdict
Gemini CLI earns its place as the default starting point for anyone new to terminal AI agents. The free tier is generous enough to form real opinions, Plan Mode makes the agent’s behavior legible, and the Google-backed model quality is competitive. It’s not the ceiling of what’s possible in this category — but it’s the most accessible entry point.
Anthropic's terminal-native AI agent for deep, agentic work on real codebases
Open-source agentic coding assistant for VS Code — bring your own model, see every move
The first AI software engineer — autonomous, capable, and genuinely expensive