G
google-gemini/gemini-api-cli★ 4,861 · Go
A stateless Go CLI for Gemini models, media, and managed agents via the shell
Apache-2.0 · Commercial Friendlyv0.5.1
Side-by-side 2026 comparison in Coding, Skills & MCP: google-gemini/gemini-cli leads in total GitHub adoption (★ 109.6k), while google-gemini/gemini-api-cli shows stronger 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
A stateless Go CLI for Gemini models, media, and managed agents via the shell
A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | google-gemini/gemini-api-cli | google-gemini/gemini-cli |
|---|---|---|
| Total GitHub Stars | ★ 4,861 | ★ 109,557 |
| 24h / 7d Velocity | +44 / +613 | +36 / +376 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 91/100 | A+ · 98/100 |
| Deployment Signals | CLI · API | Docker · CLI |
| Primary Language | Go | TypeScript |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | v0.5.1 | v0.72.0 |
| Best For | Teams extending an existing shell-capable agent or CI job with document analysis, media generation, transcription, or background Gemini tasks | Teams with approved Gemini Code Assist access that want terminal-based code exploration and editing, headless repo automation, and MCP integrations |
--usage emits KDL with the command tree, defaults, environment variables, and config keys; --schema emits bundled JSON Schema draft 2020-12.--dry-run validates flags and bodies and previews the resolved HTTP request with credentials redacted, without network or OS keychain access.--jq filtering, and agent-mode JSON errors on stderr; exit codes distinguish usage, auth, and runtime/API failures.curl -fsSL https://raw.githubusercontent.com/google-gemini/gemini-api-cli/main/scripts/install.sh | bash
@google/gemini-cli exposes the gemini binary and requires Node.js 20 or later.node-pty and platform-specific @lydell/node-pty packages.-p supports headless prompts, with json for structured responses and stream-json for newline-delimited events.~/.gemini/settings.json independently of the A2A server.# Using npx (no installation required) npx @google/gemini-cli
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy