Skip to main content

Gemini CLI

Updated 2 min read

Share this page

Send the link, quote the definition with a link back, or show it as a card on your own site.

https://softwaredictionary.org/terms/gemini-cli

In short

Gemini CLI is Google's open-source AI agent for the terminal, built on Gemini models; for most individual users, Antigravity CLI replaced it in June 2026.

What is Gemini CLI?

Gemini CLI is an open-source AI agent from Google that runs in a terminal and uses Google's Gemini models. Released in June 2025 under the Apache 2.0 license, it reads and edits files, runs shell commands, fetches web pages and searches the web, working through a task step by step like other AI coding agents.

A GEMINI.md file gives it standing instructions for a project, MCP servers connect it to other tools, and it can run without a person in scripts, printing plain text or JSON. People sign in with a Google account, use a Gemini API key or go through Google Cloud's Vertex AI.

Because its code is open, it became a common reference for how a coding agent works inside: anyone can read the loop that turns a request into tool calls, change it, or build on it.

In May 2026 Google announced that its terminal agent would move to Antigravity CLI, part of its Antigravity development platform. Since June 18, 2026, Gemini CLI no longer serves requests for free individual users or for Google AI Pro and Ultra subscribers, who are pointed to Antigravity CLI instead. It remains available to organizations with Gemini Code Assist Standard or Enterprise licenses and with paid Gemini API keys.

Key takeaways

  • Gemini CLI is Google's open-source AI agent for the terminal.
  • It uses Gemini models to read code, edit files and run commands.
  • A GEMINI.md file holds project instructions, and MCP adds tools.
  • Since June 2026, individual users are pointed to Antigravity CLI instead.
  • Organizations with Gemini Code Assist licenses and paid API keys can still use it.

Example

Running Gemini CLI, once interactively and once from a scriptbash
npx @google/gemini-cli    # try it without installing

# A single task, with JSON output a script can read
gemini -p "list the TODO comments in src/" --output-format json

Readers ask

Is Gemini CLI still free?

Not for individuals. Since June 18, 2026, Google points free users and Google AI Pro and Ultra subscribers to Antigravity CLI; Gemini CLI keeps working with paid Gemini API keys and Gemini Code Assist Standard or Enterprise licenses.

What is Antigravity CLI?

Google's newer terminal agent, part of its Antigravity development platform. It shares its agent with the Antigravity desktop app and took over from Gemini CLI for most individual users in June 2026.

Is Gemini CLI open source?

Yes. Its code is published on GitHub under the Apache 2.0 license.

Free · once a week

Software and AI, explained once a week

The week's software and AI news with every term explained, plus a term to learn and a quick quiz. A two-minute read.

You confirm by email first, and one click unsubscribes. Privacy

See this week's issue

About this page

Spotted a mistake or something missing on this page?Suggest an edit

How pages are made

More

Settings