Gemini CLI
Command-line AI agent for coding, editing, querying, and automating tasks using Google Gemini models.
At a Glance
Pricing
Get started with Gemini CLI at no cost with Unlimited local usage with personal Google account and 60 requests/min, 1,000/day (Gemini API free tier).
Engagement
Available On
About Gemini CLI
Gemini CLI is an open-source command-line tool that brings Google’s Gemini models into your terminal. It supports code generation, editing, project scaffolding, multimodal input, tool execution, and slash-command workflows. You can use it to summarize code changes, query large codebases, refactor code, automate rebases, or even create apps from PDFs and sketches.
Key features include:
- Custom slash commands via TOML files
- MCP integration with
/mcpcommands and tool discovery - OAuth, Vertex, and API key authentication
- Shell passthrough (!), file injection (@), and vim-mode editing
- Full local config and memory override support via GEMINI.md files
Gemini CLI is highly extensible, supports CI/CD workflows with headless auth, and includes built-in privacy, telemetry, and version controls.

Community Discussions
Be the first to start a conversation about Gemini CLI
Share your experience with Gemini CLI, ask questions, or help others learn from your insights.
Pricing
Free Plan Available
Get started with Gemini CLI at no cost with Unlimited local usage with personal Google account and 60 requests/min, 1,000/day (Gemini API free tier).
- Unlimited local usage with personal Google account
- 60 requests/min, 1,000/day (Gemini API free tier)
- 100/day (Gemini Pro 2.5 API free tier)
- Vertex AI express mode available without billing
Capabilities
Key Features
- Slash commands for AI workflow management
- Custom TOML-based command shortcuts
- @ file inclusion and ! shell passthrough
- Project-aware and git-aware context loading
- OAuth and Vertex AI API key authentication
- Hierarchical memory via GEMINI.md files
- Tool execution and MCP server integration
- Support for vim-mode editing
- System settings override and telemetry export