What's new

Gemini CLI

by Google

Terminal-first AI coding assistant with the largest context window. Brings Gemini models into the shell for code generation, refactoring, and multi-file reasoning.

Default Model

Gemini 2.5 Pro

Context Window

1000K tokens

Pricing

free

Generous free tier with Gemini API; paid via Google AI Studio

Open Source

Apache-2.0

Features

MCP Support Yes
Multi-file Editing Yes
Git Integration Yes

Details

Platforms macOS, Linux, Windows
Released 2025-06-25
Supported models

Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.0 Flash

Quick Install

npm install -g @anthropic-ai/gemini-cli

Notes

Largest context window (1M tokens) — 5x Claude Code, 8x Codex. Ideal for large codebases.