Gemini CLI
ActiveDescription
Gemini CLI is a terminal-based AI agent tool from Google that supports code generation, file operations, and multi-turn conversations with a free usage tier.
Key Features
- Gemini 3 model access - 1M token context window with improved reasoning capabilities
- Built-in tool suite - Google Search grounding, file operations, shell commands, and web fetching
- MCP protocol extensibility - connect custom tools and services via Model Context Protocol
- Multimodal code generation - create full apps from PDFs, images, or sketches
- GitHub Action integration - automated PR reviews, issue triage, and @gemini-cli on-demand assistance
- Non-interactive scripting - run in scripts with JSON or stream-json output formats
Use Cases
Tags
Categories
Quick Start
# Run instantly without installation
npx @google/gemini-cli
# Or install globally
npm install -g @google/gemini-cli
# Start interactive session
gemini
# Non-interactive mode: single prompt
gemini -p "Explain the architecture of this codebase"