Gemini CLI
Google's open-source AI agent for your terminal
Overview
Gemini CLI is Google's open-source AI agent that brings the power of Gemini directly into your terminal. Built with a reason-and-act (ReAct) loop, it can handle complex use cases like fixing bugs, creating new features, and improving test coverage. Features a massive 1M token context window with Gemini 2.5 Pro, built-in tools for Google Search, file operations, shell commands, and MCP server support for custom integrations. Free tier includes 60 requests/min and 1,000 requests/day with a personal Google account.
Pricing: Free (60 req/min, 1000/day with Google account)
Architecture: Apple Silicon, Intel
Key Features
- Gemini 2.5 Pro with 1M token context window
- ReAct loop for complex multi-step tasks
- Built-in Google Search grounding for up-to-date responses
- File operations and shell command execution
- Web fetching for external context
- MCP server support for custom tool integrations
- Multimodal app prototyping from PDFs or sketches
- Automated DevOps tasks including Git operations
- Install via npm: npm install -g @google/gemini-cli
- Also available via Homebrew
Tags
Gemini CLI Alternatives
Qwen Code
Open-source AI coding agent that lives in your terminal
Claude Code
Anthropic's agentic coding CLI that understands your codebase
Codex CLI
OpenAI's lightweight coding agent for your terminal
OpenCode
Open source AI coding agent for terminal, IDE, and desktop