Gemini CLI

Google's open-source terminal coding agent, now maintained for Gemini Code Assist organisations

google-gemini/gemini-cliCoding AgentsVerified Nov 27, 2026
Open on GitHub

Activity

109kStars
15kForks
750Open issues and PRs
Nov 27, 2026Last push

Figures from the GitHub API, read Nov 27, 2026.

What it is for

Gemini CLI is Google's open-source agent for the terminal: it reads and edits a codebase, runs commands, connects to MCP servers and can run non-interactively in scripts. The code is Apache-2.0 and released weekly.

Check who it is for before installing. The README now says it is designed for organisations with Gemini Code Assist Standard or Enterprise licences, or Code Assist for GitHub, on Google Cloud. Free individual access and Google AI Pro and Ultra plans moved to a different tool, Antigravity CLI, on June 18, 2026. Legacy paid API keys and Vertex AI keys still work.

The README also says the CLI is not tuned for the Gemini 4 series and should not be used to benchmark Gemini models. If you are an individual developer looking for Google's current terminal agent, this repository is probably not the one you want.

Quickstart

Tested on 2026-11-27 in a clean node:24-bookworm-slim Linux container (arm64), version 0.71.1.

npm install -g @google/gemini-cli
gemini --version

What we saw: the install finished without errors (121 MB on disk) and gemini --version printed 0.71.1.

Running a prompt without credentials stops with a message asking for an auth method: set GEMINI_API_KEY, GOOGLE_GENAI_USE_VERTEXAI or GOOGLE_GENAI_USE_GCA, or configure one in ~/.gemini/settings.json. We stopped there and did not sign in, so nothing past installation is tested by us. With a Code Assist licence, the README's next step is:

export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID"
gemini

Before you adopt it

6 of 6 key facts checked
Install commandOne copy-and-paste to get it
npm install -g @google/gemini-cli, or run it once with npx @google/gemini-cli. Homebrew: brew install gemini-cli.Checked Nov 27, 2026 · source
Runtime requirementsLanguage version, operating system, key dependencies
Node.js 20.0.0 or later; Bash, Zsh or PowerShell; macOS 15+, Windows 11 24H2+ or Ubuntu 20.04+. An internet connection is required.Checked Nov 27, 2026 · source
Hardware needsGPU memory, RAM, disk; whether CPU-only is workable
4 GB RAM or more for short sessions; 16 GB or more for long sessions and large codebases. No GPU: the model runs on Google's side.Checked Nov 27, 2026 · source
Latest releaseA push is not a release
v0.71.1 · Nov 24, 2026Checked Nov 27, 2026 · source
MaintainersHow many people the project depends on
30+ contributors; the top three account for 24% of commits among the 30 most active (all time)Checked Nov 27, 2026 · source
Licence caveatsModel weights and commercial terms often differ from the code licence
The code is Apache-2.0, but using it needs a Gemini Code Assist Standard or Enterprise licence, Code Assist for GitHub, or a legacy paid Gemini API or Vertex AI key. There is no free tier: free individual access moved to Antigravity CLI on June 18, 2026.Checked Nov 27, 2026 · source
DocumentationWhere the real docs live
https://geminicli.com/docs/Checked Nov 27, 2026 · source
Supported models and providersWhat it works with
Gemini models only, through Google sign-in with a Code Assist licence, a Gemini API key, or Vertex AI. The README says it is not tuned for the Gemini 4 series.Checked Nov 27, 2026 · source
BackingCompany or solo maintainer
Published by Google under the google-gemini organisation; stable releases weekly on Tuesdays, with preview and nightly channels.Checked Nov 27, 2026 · source