google-gemini/gemini-cli
Gemini CLI is an open-source terminal agent that gives direct command-line access to Gemini models, supporting codebase querying and editing, non-interactive scripting, and MCP servers for added capabilities. It authenticates via Google OAuth, a Gemini API key, or Vertex AI, and ships through npm, Homebrew, and MacPorts with weekly preview/stable and daily nightly release channels.
Developers building terminal-based or scriptable agents can look at its MCP integration and non-interactive mode, but note the README says it has been replaced by Antigravity CLI for unpaid and Google One users and is not optimized for the latest Gemini models.
- ★ 107,532
- +★ 122 in 7 days
- 0.1% growth
- Apache-2.0
- README ≈ 4,945 tokens to load into context
AI-written summary