# Gemini CLI

URL: https://softwaredictionary.org/terms/gemini-cli
Category: AI & Machine Learning
Last updated: 2026-10-18

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 script

```bash
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
```

## Frequently asked questions

**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.

## Sources

- [google-gemini/gemini-cli (GitHub)](https://github.com/google-gemini/gemini-cli)
- [Google for Developers: Transitioning Gemini CLI to Antigravity CLI (2026)](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli)

---

Software Dictionary: https://softwaredictionary.org/ · https://softwaredictionary.org/llms.txt
