Skip to content

Gemini CLI

Google's open-source terminal agent that brings Gemini models to your codebase and shell

Listed on AiTop3 Last updated geminicli.com

What is Gemini CLI?

Gemini CLI is an open-source command-line agent from Google, released under the Apache 2.0 license, that brings Gemini models into the terminal. It can query and edit large codebases, generate apps from images, PDFs or sketches, run shell commands, search and fetch the web, and automate tasks in scripts through a headless mode. Projects can give it lasting instructions in GEMINI.md files, and it can be extended with MCP servers, extensions, agent skills, hooks and custom commands. It also offers plan mode, subagents, checkpointing, sandboxing and IDE integration. It installs with npm or Homebrew. Since June 18, 2026, free individual users and Google AI Pro, Ultra and Google One accounts have been moved to Antigravity CLI, which Google recommends for Gemini 4 models. Gemini CLI remains positioned for Gemini Code Assist Standard and Enterprise, Vertex AI and paid Gemini API keys.

Key features

The five features that set Gemini CLI apart from most listed coding tools.

  • Codebase agent in the terminal

    Reads, queries and edits large codebases and runs shell commands.

  • Built-in tools

    File management, web search and fetch, and task planning with todos.

  • GEMINI.md context

    Project files that give the model persistent instructions.

  • MCP and extensions

    Connect MCP servers and add extensions, skills, hooks and custom commands.

  • Headless mode

    Runs non-interactively inside scripts and automation.

FAQ

Short answers to what people ask about Gemini CLI.

Is Gemini CLI open source?

Yes. The source code is on GitHub under the Apache License 2.0.

What is the relationship to Antigravity CLI?

On June 18, 2026, Antigravity CLI replaced Gemini CLI for free-tier and Google One users and for Google AI Pro and Ultra plans. Google recommends Antigravity for Gemini 4 models.

Who can still use Gemini CLI?

It is positioned for Gemini Code Assist Standard and Enterprise, Code Assist for GitHub, Vertex AI and Gemini API keys, where usage is billed per token.

Alternatives to Gemini CLI

Other listed coding tools, ranked by editor rating. See all alternatives

Lovable

#1 in AI app
Best for
Non-developers building web apps
Price
From $25/mo
9.3 Compare

OpenRouter

#1 in AI model APIs for
Best for
Many models behind one key
Price
From Usage-based API
9.0 Compare