Gemini CLI
Overview
Gemini CLI is an open‑source, terminal‑first agent that connects directly to Gemini models for coding, automation and research. Setup is lightweight: sign in with a personal Google account to use Gemini 2.5 Pro under a generous free tier (60 req/min, 1,000 req/day), or configure Google AI Studio/Vertex AI keys for higher limits and model control. The tool ships with built‑in capabilities — Google Search grounding, file operations, shell commands and web fetch — and extends via MCP servers for custom integrations. Teams can coordinate IDE + CLI by pairing with Gemini Code Assist, run headless in scripts, and checkpoint conversations for long tasks. A project‑level GEMINI.md provides persistent context so agents behave consistently across repos.
Use Cases
On‑Demand Terminal Assistance
Get coding help, explanations and task delegation without leaving the shell.
Agentic Coding & Refactors
Generate files, perform multi‑step edits and validate changes by running commands.
Automation & Integration
Query PRs, handle complex rebases and wire custom tools through MCP for operations.
GitHub Workflows
Automate PR reviews, issue triage and on‑demand assistance via the GitHub Action.
Headless Scripting
Run non‑interactive jobs in CI with structured output and conversation checkpointing.
Pricing
Individual Plans
Includes:
- 60 requests/min and 1,000 requests/day
- Gemini 2.5 Pro with 1M token context window
- No API key management
- Automatic updates to latest models
Includes:
- 100 requests/day with Gemini 2.5 Pro
- Model selection: choose specific Gemini models
- Usage‑based billing: upgrade for higher limits when needed
Core Features
Standard Features
Advanced Features
Built‑in Tools
Google Search grounding, file ops, shell commands and web fetch.
MCP Integration
Extend capabilities via MCP servers to connect external tools.
Conversation Checkpointing
Save and resume long sessions; stream JSON events for monitoring.
Project Context (GEMINI.md)
Provide persistent, repo‑level instructions and context for consistent behavior.
Authentication Options
Google login, AI Studio keys or Vertex AI for enterprise governance.
Agent Mode with IDE
Coordinate terminal actions with Gemini Code Assist in IDEs.
GitHub Actions Integration
Automate PR reviews, issue triage and custom workflows in GitHub.
AI Models Support
Built-in Models
System Requirements
Supported Platforms
Windows, macOS, Linux
API Support
Gemini API; Google AI Studio; Vertex AI
Compatibility
Terminal/CLI; integrates with IDE via Gemini Code Assist; available in Cloud Shell
Similar Products
Loading similar products...