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
TypeScriptApache-2.0Created 2025-04-17geminicli.com
Download: Release v0.68.0Release-0.68.0 ↓0.68.02026-11-10
+20
Daily
+48
Weekly
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

Discussions

Latest release

Release v0.68.0 v0.68.0 2026-11-10
What'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 

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
14 more9to5google.comGemini CLI and Code Assist shut down for consumers this week amid Antigravity focus2026-06-17International Business TimesGoogle Accepted 6,000 Gemini CLI Contributions, Then Closed Tool for Enterprise Only2026-05-23Virtualization ReviewGoogle Moves Gemini CLI Into Antigravity CLI as Agent Platform Expands2026-05-18SecurityWeekGemini CLI Vulnerability Could Have Led to Code Execution, Supply Chain Attack2026-05-07hackreadGoogle Fixes CVSS 10 Gemini CLI Vulnerability Enabling GitHub Issue-Based RCE2026-05-06The Hacker NewsGoogle Fixes CVSS 10 Gemini CLI CI RCE and Cursor Flaws Enable Code Execution2026-04-30SecurityWeekClaude Code, Gemini CLI, GitHub Copilot Agents Vulnerable to Prompt Injection via Comments2026-04-16marktechpostGoogle Brings Gemini CLI to GitHub Actions: Secure, Free, and Enterprise-Ready AI Integration2025-09-03InfoWorldGoogle rolls out AI coding tool for GitHub repos2025-08-07maketecheasier.comHow to Run the Gemini CLI AI Agent on Your Terminal2025-07-09TechCrunchGoogle unveils Gemini CLI, an open source AI tool for terminals2025-06-25The InformationSame Flaw Found in Claude Code, Codex, Gemini CLI and GitHub Copilot2026-09-17The Hacker NewsClaude Code and Gemini CLI Flaws Let a GitHub Issue Reach CI Workflow Secrets2026-08-07Google CloudShip code within minutes with the Gemini CLI DevOps Extension2026-05-09

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON