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.
Codex
Codex is OpenAI cloud software engineering agent. It ships as an open-source terminal CLI, a cloud agent inside ChatGPT Plus/Pro/Business/Enterprise, and a GitHub reviewer that writes code, runs tests, and opens pull requests.
Qodo
Qodo (formerly Codium) is an agentic AI code review and quality platform. It reviews code locally in the IDE, automatically comments on pull requests, and runs from a CLI, enforcing organization-specific coding standards across repositories.
Zed
Zed is a fast, collaborative code editor built in Rust by the team behind Atom. It integrates AI agents, inline assistants, edit prediction with an open-weight model, and native debugger and Git tooling.
