Gemini CLI Documentation
Comprehensive guide to installing, using, and developing Gemini CLI. This tool lets you interact with Gemini models through a command-line interface.
Quick Navigation
Essential resources for developers and users
System Architecture
Understanding the core components and architecture of Gemini CLI
CLI Package
- Input Processing
- History Management
- Display Rendering
- Theme Customization
- Configuration Settings
Core Package
- API Client
- Prompt Management
- Tool Registration
- State Management
- Server Configuration
Available Tools
- File System Operations
- Shell Commands
- Web Fetching
- Web Search
- Memory Management
Execution Modes
- Interactive REPL
- Non-interactive Mode
- Scripting Support
- Automation Ready
- Pipeline Integration
Developer Documentation
Comprehensive technical documentation for developers and contributors
Development Setup
Environment setup, project structure, and build processes
Core Development
Core APIs, tool development, and system integration
Deployment & Integration
Production deployment, configuration, and system integration
Installation & Setup
Step-by-step installation and initial configuration
Configuration Management
Advanced configuration options and environment setup
MCP Integration
Model Context Protocol implementation and usage
Migration Guide
Complete guide for upgrading from older versions
Tools & Extensions
Built-in tools and creating custom extensions
Contributing & Maintenance
Contributing to the project and maintaining code quality
Community & Support
Join the developer community, get help and share experiences