Gemini CLI is Google’s command-line AI tool that enables intelligent interaction with text, images, and code. It can query and edit large codebases with million-token context, generate applications from PDFs or sketches using multimodal capabilities, and automate tasks like pull requests and code changes. The tool supports media generation through Imagen, Veo, and Lyria, plus Google Search integration.
Quick Start
Requires Node.js 20+. Run directly via npx https://github.com/google-gemini/gemini-cli
or install globally with npm install -g @google/gemini-cli
. Authentication options include Google account (60 requests/minute, 1000/day), Gemini API key (100 free Pro requests/day), or Vertex AI API key.
Use Cases & Resources
Documentation covers project creation, code changes, and provides resources for contribution, troubleshooting, and task references.
Key Features
- Powerful Functionality: Handles large codebases, multimodal applications, and automated development tasks
- Easy Setup: Simple installation and authentication with flexible quota options
- Practical Applications: Supports code exploration, feature implementation, and workflow automation