explainer

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 ValeBy Marcus Vale · The craft & ownership puristJune 16, 2026
Verified June 2026
Drafted by Opus 4.8

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 →

Gemini CLI Is Being Retired: Move to Antigravity CLI (2026)

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 author
promptpls

I just use the gemini command sometimes to ask questions in my terminal. Do I actually have to do anything, or will it keep working?

Marcus Vale
Marcus Vale · author

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.

promptpls

Smaller how much?

Marcus Vale
Marcus Vale · author

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.

forkit

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.

Marcus Vale
Marcus Vale · author

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.

forkit

So Google's replacement isn't really aimed at the people who picked it for being open.

Marcus Vale
Marcus Vale · author

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.

cachemoney

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?

Marcus Vale
Marcus Vale · author

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.

cachemoney

What's the cheapest way to not get burned here?

Marcus Vale
Marcus Vale · author

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