Gemini CLI

Active
GitHub TypeScript Apache-2.0

Description

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

πŸ’‘ Query, edit, and debug large codebases directly from the terminal
πŸ’‘ Automate GitHub workflows like PR reviews and issue triage with natural language
πŸ’‘ Build personal projects using the free tier (60 req/min, 1000 req/day)
πŸ’‘ Integrate into CI/CD scripts for automated code analysis and deployment tasks
πŸ’‘ Extend capabilities with MCP servers for media generation, database queries, and more

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"

Related Projects

Related Articles