google-gemini /gemini-cli
An open-source AI agent that brings the power of Gemini directly into your terminal.
★ 108,750⑂ 14,928👁 589⑃ 13,345● 14,620▤ 685◈ 708
108,750
stars
+-50
14,928
forks
589
watchers
13,345
prs
14,620
issues
685
releases
708
discussions
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
#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#30197Gemini for Teaching2 comments · 2026-11-07#30177Veyrul: saved media workflows and reusable code for Gemini CLI0 comments · 2026-11-06#30158I built Ordewell to plan and run tasks with Gemini CLI and other agents0 comments · 2026-11-05#30151KinetAios: a desktop workbench that hosts Gemini CLI as a parallel channel (stream-json UI, resume, shared memory)0 comments · 2026-11-05#30132recall: Gemini CLI reads and writes the memory Claude Code keeps for your project0 comments · 2026-11-04#30120Social media data in Gemini CLI: adding LurkAPI as a remote MCP server0 comments · 2026-11-03
Latest release
Release v0.67.0 v0.67.0 2026-11-04What's Changed Changelog for v0.65.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29853 chore(release): bump version to 0.67.0-nightly.20261020.gb041de017 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29854 Changelog for v0.66.0-preview.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29852 feat(cli): bridge the IDE companion into container sandboxes over exec stdio by @elberthc-byte in https://github.com/google-gemini/gemini-cli/pull/29858 fix(core): prevent duplicate agent loading when workspace is home dir
相关报道 (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 (22)
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