Gemini CLI

Gemini CLI is Google's open-source terminal coding agent, but since Jun 18, 2026 it no longer serves free or Google AI Pro and Ultra accounts; individuals now use Antigravity CLI, and Gemini CLI stays for Gemini Code Assist Standard and Enterprise customers and paid API keys.

Gemini CLI is Google's open-source AI agent for the terminal, released under the Apache 2.0 license on Jun 25, 2025, but it is no longer the free tool many guides describe: on Jun 18, 2026 it stopped serving free accounts and Google AI Pro and Ultra subscribers, and Google moved those people to Antigravity CLI, part of Google Antigravity. Gemini CLI itself still works for organizations with Gemini Code Assist Standard or Enterprise licenses and for anyone signing in with a paid Gemini API key or Vertex AI, as of Nov 6, 2026.

If you are an individual developer looking for Google's free terminal agent, install Antigravity CLI instead. If your company already pays for Gemini Code Assist, Gemini CLI is still supported. For a terminal agent from another maker, Claude Code and Codex are the closest rivals, and Cline offers an open-source CLI that works with any model provider.

The words Gemini CLI over the install command npm i -g @google/gemini-cli, on a dark code background
The words Gemini CLI over the install command npm i -g @google/gemini-cli, on a dark code background Google

Quick facts

Maker Google
Launched Jun 25, 2025
Get it npm install -g @google/gemini-cli or brew install gemini-cli (GitHub)
Who can use it Gemini Code Assist Standard and Enterprise, paid Gemini API and Vertex AI keys (as of Nov 6, 2026)
Free individual access Ended Jun 18, 2026; moved to Antigravity CLI
Open source Yes, Apache 2.0
GitHub stars 108.7k (read Nov 6, 2026)
Platforms macOS, Linux, Windows (Node.js)

Is Gemini CLI still free?

No, not for individuals. At launch Google gave anyone with a personal Google account 60 requests a minute and 1,000 a day with Gemini 2.5 Pro and its 1 million token context. On May 19, 2026 Google announced that Gemini CLI development was merging into Antigravity, and on Jun 18, 2026 the "Login with Google" path for free, Google AI Pro and Google AI Ultra accounts stopped working, along with the Gemini Code Assist IDE extensions for those tiers.

The free tier lives on in Antigravity: its pricing page lists an Individuals plan at $0 a month with weekly rate limits, as of Nov 6, 2026. Google publishes no request counts for it.

Who Gemini CLI is for now

The project's README, read Nov 6, 2026, says the CLI is designed for Gemini Code Assist Standard and Enterprise licenses and Code Assist for GitHub on Google Cloud, plus legacy paid API or Vertex keys. Google's own transition post says enterprise access remains unchanged. The README also warns that the CLI is not tuned for the Gemini 4 models such as Gemini 4 Argon, and advises against using it to benchmark them.

How to install Gemini CLI

Gemini CLI needs Node.js. Run it once with npx @google/gemini-cli, or install it with npm install -g @google/gemini-cli, brew install gemini-cli or MacPorts, then sign in with a Code Assist license (setting GOOGLE_CLOUD_PROJECT), a GEMINI_API_KEY, or Vertex AI (GitHub). Stable releases ship weekly on Tuesdays, with preview and nightly channels.

Individuals install Antigravity CLI instead, with the script Google gives in its Jun 18, 2026 notice (curl -fsSL https://antigravity.google/cli/install.sh | bash on macOS and Linux). It imports skills, MCP servers and agent profiles from an existing Gemini CLI setup and still reads GEMINI.md memory files.

Features

Agent in the terminal. Gemini CLI reads and edits files, runs shell commands and works through a task in steps, asking before it changes things unless you allow it.

Extensions and MCP. Custom extensions package commands and settings, and MCP servers add tools (GitHub). In Antigravity, extensions are now called plugins, and agent skills, hooks and subagents carry over, though Google said there would be no 1:1 feature parity at first.

Scale of the project. Google's transition post counted over 100,000 GitHub stars, about 6,000 merged pull requests and hundreds of contributors (Google Developers Blog, May 19, 2026).

Gemini CLI vs Antigravity CLI

Antigravity CLI is written in Go, runs several agents in the background so long tasks do not block the terminal, and shares its harness with the Antigravity desktop app (Google, May 19, 2026). It gets the newest models: Google AI Pro and Ultra subscribers have Gemini 4 Argon there since Oct 13, 2026. Gemini CLI remains open source and the enterprise path. Google's announcement does not say whether Antigravity CLI is open source.

Gemini CLI vs the alternatives

  • Claude Code: Anthropic's terminal agent; pick it if you want Claude models and a paid Claude plan covers your use.
  • Codex: OpenAI's agent, included with ChatGPT plans; pick it if you already pay for ChatGPT.
  • Cline: open source under Apache 2.0 with a CLI, and it takes your own key for almost any provider, local models included.
  • Google Antigravity: Google's own replacement for individuals, free with weekly limits.

See Best AI Coding Agent for a side-by-side comparison.

Frequently asked questions

Is Gemini CLI free? Not for individuals since Jun 18, 2026, when Gemini CLI stopped serving free, Google AI Pro and Google AI Ultra accounts. Google's free terminal agent is now Antigravity CLI, which has a $0 Individuals plan with weekly limits.

Does Gemini CLI still work? Yes, for organizations with Gemini Code Assist Standard or Enterprise licenses and for users with paid Gemini API or Vertex AI keys, as of Nov 6, 2026.

How do I install Gemini CLI? Run npm install -g @google/gemini-cli (Node.js required) or brew install gemini-cli, then sign in with a Code Assist license or an API key.

Is Gemini CLI open source? Yes, Gemini CLI is open source under the Apache 2.0 license on GitHub.

What replaced Gemini CLI? Antigravity CLI, part of Google Antigravity, replaced Gemini CLI for individual users on Jun 18, 2026; it imports Gemini CLI settings during installation.

Sources

Moments

How to install & set up Gemini CLI

Google Cloud Tech

  1. Gemini CLI is Google's open-source AI agent for the terminal, released under the Apache 2.0 license on Jun 25, 2025…
  2. Gemini CLI needs Node.js. Run it once with npx @google/gemini-cli, or install it with npm install -g…
  3. Agent in the terminal. Gemini CLI reads and edits files, runs shell commands and works through a task in steps, asking…

Gemini CLI: The AI agent that lives in your terminal

Google Cloud Tech

  1. Extensions and MCP. Custom extensions package commands and settings, and MCP servers add tools (GitHub). In…

Photos

The words Gemini CLI over the install command npm i -g @google/gemini-cli, on a dark code background

See also

About this page

Last updated Nov 6, 2026 by the Vi.ki team. Page text CC BY-SA 4.0.

Edit History

Hotkeys

/
Jump to the search box
? or Ctrl + /
Open this list
Esc
Close this list, the photo viewer, or the account menu

Video

Space or K
Play or pause
← →
Back or forward 5 seconds
J L
Back or forward 10 seconds
0 to 9
Go to 0% to 90% of the video
, .
Previous or next frame, while paused
M
Mute or unmute
C
Captions on or off
F
Full screen on or off
A D
Previous or next moment

Photo viewer

← → or A D
Previous or next photo
↑ ↓ or W S
Previous or next photo
Home End
First or last photo
I
Show or hide the photo's info
Z
Clickless on or off: a pointer over a thumbnail shows it
N
Compare with the last photo: back to the one shown before this, and N again comes back
Q
Move the thumbnails to the next edge: top, bottom, left and round
, or Ctrl + ,
Open or close the viewer's settings
V
Clickless pan: a zoomed photo follows the pointer, rather than being dragged
Shift
Browse on or off
B
Show or hide the button bar
T
Show or hide the thumbnails
1
100% zoom on or off
0
Rate the photo as no opinion; again takes the answer back
+ -
Rate the photo a step higher or lower
F
Full screen: the photo alone. F again puts everything back.
Back to top