google-gemini /gemini-cli
An open-source AI agent that brings the power of Gemini directly into your terminal.
★ 108,848⑂ 14,956👁 582⑃ 13,398● 14,654▤ 687
+20
日增长
+48
周增长
108,848
stars
14,956
forks
582
watchers
13,398
prs
14,654
issues
687
releases
README
Gemini CLI [!IMPORTANT] Read before installing — Gemini CLI status & tool guide - Enterprise Code Assist only: Designed for Gemini Code Assist Standard / Enterprise licenses and Code Assist for GitHub on Google Cloud (your access remains unchanged). - No free tier or Google AI plans: Free individual access and Google AI Pro / Ultra (Google One) moved to Antigravity CLI on June 18, 2026 (transition post). - Not optimized for Gemini 4+: Not tuned for the Gemini 4 series (for example, Gemini 4 Argon) or future releases in this or later generations. - Not for model benchmarks: Don't use Gemini CLI to benchmark Gemini models—its harness isn't tuned for Gemini 4+ and produces unrepresentative scores. Which Google CLI do you need? | Tool | Best for | Links | | :--- | :--- | :--- | | Antigravity CLI (agy) | Interactive multi-agent coding terminal. Use for Gemini 4 Argon+, free / Google AI Pro & Ultra accounts, or Google Cloud. | Download · Migrate · Argon post | | Gemini API CLI (gemini-api) | Stateless API CLI (not a coding harness). Gives agents (agy, Claude Code, Codex), scripts, and CI direct commands for Gemini models, media gen, file analysis, and managed agents. | GitHub · Releases · API docs | | Gemini CLI (gemini, this repo) | Organizations with Gemini Code Assist Standard / Enterprise or Code Assist for GitHub on Google Cloud (plus legacy paid API / Vertex keys). | Docs | Gemini CLI (gemini) is an open-source terminal agent maintained for enterprise Gemini Code Assist workflows on Google Cloud. Learn more in the Gemini CLI documentation. 📦 Installation See Gemini CLI installation, execution, and releases for recommended system specifications and a detailed installation guide. Quick Install Run instantly with npx bash Using npx (no installation required) npx @google/gemini-cli Install globally with npm bash npm install -g @google/gemini-cli Install globally with Homebrew (macOS/Linux) bash brew install gemini-cli Install globally with MacPorts (macOS) bash sudo port install gemini-cli Install with Anaconda (for restricted environments) bash Create and activate a new environment conda create -y -n gemini_env -c conda-forge nodejs conda activate gemini_env Install Gemini CLI globally via npm (inside the environment) npm install -g @google/gemini-cli Release Channels See Releases for more details. Preview New preview releases will be published each week at UTC 23:59 on Tuesdays. These releases will not have been fully vetted and may contain regressions or other outstanding issues. Please help us test and install with preview tag. bash npm install -g @google/gemini-cli@preview Stable - New stable releases will be published each week at UTC 20:00 on Tuesdays, this will be the full promotion of last week's preview release + any bug fixes and validations. Use latest tag. bash npm install -g @google/gemini-cli@latest Nightly - New releases will be published each day at UTC 00:00. T
Top issues
#16750"Allow for session" only allows once for shell commands that include a path159 comments · 2026-01-15#24937Tracking: 429 / Capacity Issues131 comments · 2026-04-08#19532Add gemini-3.1-pro-preview127 comments · 2026-02-19#23331GSoC Behavioral evals, Quality, and the OSS Community77 comments · 2026-03-21#23316Long-Context & Complex Reasoning Coding Evaluation Dataset80 comments · 2026-03-20#29101Authentication failure blocking Enterprise Workspace accounts65 comments · 2026-08-26#3132[Agents] Post V1.0 Work46 comments · 2025-07-03#16388feat(stats): Expose aggregate 'Chat API requests per day' quota in /stats38 comments · 2026-01-12
Discussions
#30260Chopper: a small open model that cuts only the needed sentences out of retrieved text0 comments · 2026-11-12#30257Mons: access your coding-agent terminal from iPhone and iPad (public beta)0 comments · 2026-11-12#302551ToolRing: live Google, Maps and Amazon data in Gemini CLI through one remote MCP server0 comments · 2026-11-12#30251claude-bulkhead: BeforeTool guards for running Gemini CLI next to other agents on one machine0 comments · 2026-11-11#30248Trying Concord with Gemini CLI and another coding agent0 comments · 2026-11-11#30244gemini-pro-mcp: Flow, Notebooks, Deep Research and Jules as MCP tools for Gemini CLI0 comments · 2026-11-11#30200agentswarm.space: inspect task fit and payer before registering (Gemini CLI untested)0 comments · 2026-11-07#30198Pushary: Gemini CLI approvals on your phone, through native hooks0 comments · 2026-11-07
Latest release
Release v0.68.0 v0.68.0 2026-11-10What's Changed Changelog for v0.67.0-preview.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29990 Changelog for v0.66.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29992 docs(readme): clarify Gemini CLI scope, limitations, and tool landscape by @LyalinDotCom in https://github.com/google-gemini/gemini-cli/pull/29995 fix(cli): bound inline history re-render after terminal width changes by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29904 fix(ui): handle surrogate pairs when truncating in sanitizeForDisplay
相关报道 (6)
iThome OnlineClaude Code、Gemini CLI與Codex共通信任風險,惡意GitHub議題可影響後續代理2026-08-0980aj.comGoogle 宣布 Antigravity CLI 取代 Gemini CLI,全面转向多 Agent 协同开发2026-05-20CSDN博客2026 年 Gemini CLI 向 Antigravity CLI 过渡,新平台更快、更高效!2026-05-20CSDN博客GitHub评论可触发Claude Code、Gemini CLI和GitHub Copilot的提示注入漏洞2026-04-22Pasquale Pillitteri2026 AI 编程工具: Claude Code, Copilot, Codex 和 Gemini 之间的价格大涨2026-04-2151CTO谷歌重磅开源Gemini CLI:免费AI工具,居然要干掉GitHub Copilot?2025-06-27
News & coverage (24)
Hacker NewsGemini CLI▲ 1,428 · 788 comments · 2025-06-25Hacker NewsIt looks like the status/need-triage label was removed▲ 303 · 82 comments · 2026-01-22Hacker NewsAddressing Antigravity Bans and Reinstating Access▲ 254 · 216 comments · 2026-02-28Hacker NewsGemini CLI: mitigating abuse and prioritizing traffic▲ 7 · 0 comments · 2026-03-19Hacker NewsGoogle Gemini bans OAuth with third parties blocking most OpenClaw users▲ 6 · 1 comments · 2026-03-25Hacker NewsMacOS14.8、15.7 update breaks TMPDIR environment variable▲ 5 · 2 comments · 2025-09-19Hacker NewsGemini CLI not working for many users▲ 4 · 4 comments · 2026-03-26Hacker NewsGemini CLI tried to RF -RF / on my system▲ 4 · 3 comments · 2025-10-02noteMigration Steps from Gemini CLI to Antigravity CLI2026-11-05noteGemini CLI not working? I looked into points to confirm regarding the end of personal use and the migration to Antigravity CLI2026-10-30