All Repos
AI AgentsTypeScriptApache-2.0

gemini-cli

google-gemini/gemini-cli · Updated

An open-source AI agent that brings the power of Gemini directly into your terminal.

google-gemini/gemini-cli is a TypeScript repository in the AI Agents category with 108,591 stars and 14,859 forks on GitHub, released under the Apache-2.0 license, last updated today.

#ai#ai-agents#cli#gemini#gemini-api#mcp-client#mcp-server
View on GitHub 109kGitHub stars

How to install gemini-cli in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install gemini-cli in Claude CodeAnthropic's agentic CLI

  1. Clone & open

    bash
    git clone https://github.com/google-gemini/gemini-cli.git
    cd gemini-cli
    claude
  2. Let Claude read it

    Ask “/init” to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.

Documentation

Full 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](https://antigravity.google/product/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](https://github.com/google-gemini/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

Excerpt — the full document is on GitHub.

More AI Agents repositories

Catalog data refreshed . Something wrong? Report it.