Gemini CLI

by Google

An open-source terminal AI agent from Google that connects Gemini models to a developer's local shell for coding, search-grounded Q&A and scripted automation.

developer-toolopen-sourcefree-tier-disputedjavascriptself-hosted

At a Glance

Type

Developer tools

Pricing

FreemiumREADME states OAuth free tier of 60 requests/min, 1,000 requests/day; Google's blog says this individual/free access stopped serving 18 June 2026, leaving paid Code Assist licences or API-key billing.

Best For

Running an agentic coding assistant directly in a terminal against a local repository, extended with custom MCP tool servers.

Platforms

CLI, Linux, macOS, Windows

Models

Gemini 3

Founded

1998

Headquarters

Mountain View, United States

Free Tier

Available

API

Available

Licence

Open Source

Key Features

Pros & Cons

Strengths

  • Open source under Apache 2.0, so it can be inspected, self-hosted logic-wise and modified
  • MCP support lets it be wired into custom tool servers rather than a fixed toolset
  • Large context window (1M tokens) documented for signed-in users

Limitations

  • Google's developer blog says free/individual access stopped serving requests from 18 June 2026 during migration to Antigravity CLI, conflicting with the README's active free-tier description.
  • Continued unrestricted use now appears to require a paid Gemini Code Assist Standard or Enterprise licence
  • Official docs list macOS 15+, Windows 11 24H2+ and Ubuntu 20.04+ as supported OSes; some Windows users report PATH/PowerShell setup issues per user reports, not official docs.

Integrations

GitHubVS CodeModel Context Protocol (MCP)Google SearchVertex AI

What it is

Gemini CLI is Google's open-source command-line agent that puts a Gemini model in a developer's terminal. It's installed with npx @google/gemini-cli (no install) or npm install -g @google/gemini-cli, with Homebrew and MacPorts builds also listed in the repository. Signing in with a personal Google account gives access to Gemini 3 models with a 1 million token context window; a Gemini API key or Vertex AI key can be used instead for usage-based billing.

Interface and dependencies

It runs as a Node.js CLI (Node.js 20.0.0+ required) and supports the Model Context Protocol (MCP), so it can call custom tools and external servers, plus built-in Google Search grounding for up-to-date answers. Google also ships a GitHub Action for automated PR review and issue triage, and a VS Code companion extension. A developer might use it to read and edit a local repository, run shell commands agentically, or wire it into a CI pipeline via MCP tools.

Limits

The repository's own README still documents a free tier (60 requests/minute, 1,000 requests/day via OAuth login), but Google's developer blog, announced 19 May 2026, states that Gemini CLI is being folded into a new tool, Antigravity CLI, and that free and individual-tier access (Google AI Pro/Ultra and Gemini Code Assist for individuals) stopped being served from 18 June 2026 — only paid Gemini Code Assist Standard or Enterprise licences retain access. The GitHub repository itself remains active, with releases as recent as 23 September 2026, so the practical state of free access should be checked directly before relying on it.

Licence

The repository's LICENSE file is the Apache License, Version 2.0.

Frequently Asked Questions

Is Gemini CLI still free to use?
The GitHub README still lists a free OAuth tier (60 requests/minute, 1,000/day), but Google's developer blog (19 May 2026) says free and individual-tier access stopped serving requests from 18 June 2026 as the tool transitions to Antigravity CLI. Check current status before relying on the free tier.
What licence is Gemini CLI released under?
The Apache License, Version 2.0, as stated in the repository's LICENSE file.

Last updated on