Google's open-source AI agent that brings Gemini's power and Google Search grounding into the terminal.
What is Gemini CLI?#
Gemini CLI is an open-source terminal AI agent built by Google. It runs locally, connects to Gemini models via personal Google account or API key, and supports shell command execution, file edits, Google Search grounding, and MCP extensions for custom tools. A companion VS Code integration and GitHub Actions are available for team workflows.
What can Gemini CLI do?#
- 01
Terminal-native AI agent
Runs the Gemini model directly inside your shell as an interactive agent.
- 02
Gemini 2.5 Pro with 1M context
Handles large repositories using Gemini 2.5 Pro and a 1M-token context window.
- 03
Generous free tier
60 requests/min and 1,000/day via a personal Google account at no charge.
- 04
Built-in tools
Google Search grounding, file ops, shell commands and web fetch are built in.
- 05
MCP extensibility
Supports Model Context Protocol so you can plug in custom servers and data.
- 06
Open source (Apache 2.0)
Source is public under Apache 2.0 license for audit and self-hosting.
Use Cases#
- individual developers — Use Gemini 2.5 Pro in the terminal to understand and generate code across a large repo.
- developers — Automate repo chores like PR review and issue triage through MCP-driven workflows.
- enterprise teams — Extend the CLI with internal MCP servers so the agent reaches company data and APIs.
Quick facts about Gemini CLI#
- Pricing
- Free (Google account)$0/moAPI usage-basedContact salesVertex AI / EnterpriseContact salesas of Apr 18, 2026View official pricing
- Platforms
- CLI·macOS·Windows·Linux·API
Gemini CLI Traffic Analysis
Alternatives to Gemini CLI
Looking for a Gemini CLI alternative? Compare these curated AI tools that offer similar features and use cases.
Aider
Aider is an open-source AI pair programming tool that lets you chat in the terminal with Claude, GPT, DeepSeek, or local models to edit code across a Git repo, with automatic commits and repo maps.
Claude Code
Claude Code is Anthropic's agentic coding assistant that operates in the terminal, IDE extensions, and GitHub, using Claude models to plan, edit, and execute multi-file changes across a codebase.
CodeRabbit
CodeRabbit is an AI code review tool that integrates with GitHub and GitLab. It posts PR summaries, line-level feedback, refactor suggestions, and security checks, cutting review time for engineering teams.
