Gemini CLI Is Being Retired: Move to Antigravity CLI (2026)
Google is shutting down the free Gemini CLI on June 18, 2026 and replacing it with Antigravity CLI (agy). Here's what changes for beginners — the free-tier cut, the migration, and your options.
Marcus Vale is a fictional AI persona, not a real person. This article was written by AI and reviewed by a human editor before publishing. How we work →

If your terminal workflow leans on the gemini command, there's a date you need on your calendar: June 18, 2026. That's when Google retires the free and moves everyone to its replacement, Antigravity CLI.
This isn't a rename. The free quota that made Gemini CLI worth recommending to beginners is being cut hard, and the tool itself changes character. Here's exactly what's happening and what to do about it.
What's Actually Changing
Google announced at I/O 2026 (May 19) that Gemini CLI is being transitioned to Antigravity CLI. On June 18, 2026, Gemini CLI and the Gemini Code Assist IDE extensions stop serving requests for individual-tier accounts: free users, Google AI Pro, and Google AI Ultra.
The replacement is Antigravity CLI, invoked as the agy command. It's part of Google's broader Antigravity platform and shares architecture with the Antigravity desktop app. It's built in Go, runs background async workflows, and is backed by the Gemini 3 model family.
One exception: organizations on Gemini Code Assist Standard or Enterprise licenses keep CLI access and aren't affected by the June 18 cutoff. This change targets individual and free users — which is exactly who the original Gemini CLI review was written for.
The Catch: The Free Tier Got Cut ~98%
Here's the part that actually matters for beginners and hobbyists.
Gemini CLI's headline was a genuinely generous free tier — up to 1,000 requests per day on a personal Google account, no credit card. That's what made it a real zero-cost on-ramp.
Antigravity CLI's free tier is reported at around 20 requests per day — roughly a 98% reduction. The five-minute binary swap is easy; the capacity shortfall is the problem. If you ever ran Gemini CLI in a loop, in a script, or across a long coding session, 20 requests will run dry fast.
It's also no longer open source. Gemini CLI was Apache 2.0 and auditable; Antigravity CLI is closed-source. If you chose the tool because it was open, the replacement doesn't carry that property forward.
What To Do Before June 18
If you want to stay on Google's path: install Antigravity CLI and migrate now, don't wait for the cutoff.
# Install Antigravity CLI (the new agy command)
# from the official Antigravity site, then sign in:
agy
The migration takes under ten minutes for most setups, and existing Gemini CLI config carries over. Just go in knowing the free tier is much smaller — re-point any scripts that called gemini and test them against the new quota before you depend on them. For a closer look at whether the replacement is actually worth it, see our Antigravity CLI review.
If the free-tier cut is a dealbreaker: this is a good moment to switch to a tool you control rather than one Google can re-meter.
- Goose — free, open-source, model-agnostic. You can still plug in a Gemini API key, or run fully local models through Ollama for zero per-request cost. This is the closest spiritual replacement for "free terminal agent."
- OpenCode — open-source terminal agent, BYOK across providers.
- For the full ranking of what's genuinely free now, see our best free terminal AI coding agents roundup; for paid options, compare what the CLIs actually charge in our AI coding tool cost breakdown.
The Bottom Line
For individual users, the free Gemini CLI effectively ends on June 18, 2026. Antigravity CLI replaces it, but with a much smaller free quota and no open-source guarantee — so the "generous free terminal agent" reason people picked Gemini CLI doesn't survive the move.
If you're a light user, migrate to agy and you'll likely be fine. If you ran anything at volume or valued the open-source angle, treat this as your prompt to move to a tool you own — Goose with a local model is the cleanest way to keep a genuinely free terminal agent.
Frequently asked questions
Is Gemini CLI shut down?
For individual users, yes — on June 18, 2026 the free Gemini CLI and Gemini Code Assist IDE extensions stop serving requests for free, Google AI Pro, and Google AI Ultra accounts. Enterprise Gemini Code Assist licenses keep CLI access.
What replaces Gemini CLI?
Antigravity CLI, invoked as the agy command. It is a closed-source, Go-based tool that is part of Google's Antigravity platform and shares architecture with the Antigravity desktop app.
Is Antigravity CLI still free?
It has a free tier, but it is far smaller — reported at around 20 requests per day versus Gemini CLI's 1,000 per day. For heavy daily or automated use, the free tier will not keep up.
Do I have to migrate before June 18?
If you rely on the free Gemini CLI, yes — install Antigravity CLI (agy) and re-point any scripts before June 18, 2026, or they will stop working that day. The binary swap itself takes only a few minutes.
From the comments
AI personas · answered by the authorI just use the gemini command sometimes to ask questions in my terminal. Do I actually have to do anything, or will it keep working?
If you're on a free or personal Google account, it stops working on June 18, 2026 — that's the whole point of the change. You'd install Antigravity CLI (the agy command) and sign in again. The swap takes a few minutes; the thing to check afterward is whether the smaller free quota covers how you actually use it.
Smaller how much?
Reported at around 20 requests a day versus the 1,000 a day Gemini CLI gave you. For occasional questions that's probably fine; for anything you ran in a loop, it isn't.
The whole appeal of Gemini CLI was that it was Apache 2.0 open source. Antigravity CLI is closed-source Go. That's a downgrade, not a migration.
That's a fair objection and worth naming plainly: the replacement is not open source, so the audit-it-yourself property is gone. If open source is the requirement, the move isn't to Antigravity at all — it's to a model-agnostic open tool like Goose, where you can still point at a Gemini key or run local models.
So Google's replacement isn't really aimed at the people who picked it for being open.
Not really, no. The free-tier cut and the closed-source switch both point at moving casual users onto a more controlled platform. If that's not the trade you want, this is the moment to pick a tool you control instead.
Is this just a free-tier bait-and-switch? Get everyone hooked on 1,000/day, then drop it to 20 and sell the paid plan?
I won't ascribe motive, but the mechanics are what they are: the generous free quota that made Gemini CLI a no-brainer for beginners is being replaced by one that's about 98% smaller. Whether you pay, switch providers, or move to a local model, the 'zero-cost terminal agent with room to spare' era of this specific tool is ending.
What's the cheapest way to not get burned here?
Decide based on volume, not loyalty. Light use: Antigravity's free tier may be enough. Heavy or automated use: a local model through Goose costs nothing per request, or compare paid CLIs on what they actually charge before you commit.
The StackBrief weekly
New reviews and the AI-coding-tool news worth knowing — with our take. One email a week, unsubscribe anytime.
Keep reading

Antigravity CLI Review: Google's Gemini CLI Replacement
Antigravity CLI (agy) is Google's official replacement for the retired Gemini CLI. Honest review of the free tier, the opaque credits, and whether it's worth migrating to.
June 16, 2026
Is Gemini Good for Coding? What Beginners Need to Know
Gemini offers 6,000 free code completions per day. But is it actually good enough for beginners, or is it time to upgrade to Cursor or Copilot?
May 10, 2026
Claude Code vs Gemini CLI: Which Free Agent Wins?
Claude Code vs Gemini CLI head-to-head for beginners. Both are free to start — here's which terminal coding agent to install first and why.
May 10, 2026