Skip to content
StackPick

Gemini CLI

Google's open-source terminal agent, wired to Gemini.

Last reviewed

Last updated

Gemini CLI is #6 of 8 in Coding and CLI agents. Editorial score 7.2: Ease 7, Power 7, Price 8, Vibe-coder fit 7. Initial editorial estimate. Not a measured benchmark.

Who it is for A terminal agent on Gemini.Coding and CLI agents: An agent that edits the repo.

Gemini CLI is Google's open-source coding agent for the terminal. It uses Gemini models to read and edit a repo and run commands. Use it when you want a CLI agent and your credits or key already sit in Google's AI stack.

What shipped in Gemini CLI

Best use cases

  • Local code edits with a Google model
  • An open-source CLI you can inspect
  • Workflows already using Gemini API keys

Pros

  • + Open source
  • + Terminal-native, so it fits scripts and a normal repo
  • + Uses Gemini, which has a free tier that changes — check site

Who should skip it

Skip Gemini CLI when one of these listed limits is the constraint.

  • − Tied to Google's model access and quotas
  • − Quotas and prices: check site

All comparisonsAll best-of lists

Pricing

Free

Gemini CLI is listed as Free. The CLI is open source. Gemini API quotas and paid tiers: check site.

Alternatives to Gemini CLI

Listed alternatives: Claude Code, Aider, Codex CLI. Claude Code is listed for “Repo-sized edits from the terminal”. Aider is listed for “Git-native pair programming from the terminal”. Codex CLI is listed for “A terminal agent on OpenAI models” (also OpenAI Codex CLI).

Also in Coding and CLI agents: Cline, OpenCode, Devin, Orkas.

Coding and CLI agents

8.3

Claude Code

Anthropic's coding agent for the terminal and supported editors.

Best for Repo-sized edits from the terminal

Check siteDetails

Coding and CLI agents

7.4

Aider

Open-source pair programming in the terminal. Git commits included.

Best for Git-native pair programming from the terminal

Coding and CLI agents

7.5

Codex CLI

OpenAI's open-source terminal agent for editing a repo.

Best for A terminal agent on OpenAI models

Check siteDetails

Release notes

Release history
  1. Gemini CLI

    Gemini CLI 0.71.1

    Released November 23, 2026. The A2A server requires a bearer token from GEMINI_IPC_SECRET, or from CODER_AGENT_AUTH_TOKEN when that is unset, on every request, including the agent card. The token is compared in constant time. A request without it returns 401. If neither variable is set, every request returns 500. Host must be a loopback address, and Origin must be too when it is sent. Other values return 403. Task creation ignores a client-supplied isTrusted flag and checks the workspace path on the server. Restoring a checkpoint rejects a path that resolves outside the checkpoint directory.

    Source for Gemini CLI 0.71.1 (opens in a new tab)
  2. Gemini CLI

    Gemini CLI 0.71.0

    Released November 23, 2026. On Windows, PowerShell command parsing runs asynchronously, so the Thinking spinner and elapsed-time counter keep moving while Gemini CLI checks a command and asks before running it. Parses are cached for the life of a policy check or a shell invocation, so the same command is not sent to PowerShell again and again.

    Source for Gemini CLI 0.71.0 (opens in a new tab)
  3. Gemini CLI

    Gemini CLI 0.70.0

    Released November 19, 2026. Session previews keep Unicode prompts and drop ANSI fragments. The selected worktree survives an authentication restart. An interrupted placeholder stays after an empty model response to a tool turn. ${VAR:-default} uses the default when the variable is set but empty. The request body timeout scales when the request timeout is longer than the 300 second default. The models list reports output token limits accurately. Workspace directories are restored only after resumeChat succeeds. Foreground retry status stays on the active main prompt and the current model policy. Listing models initializes auth capabilities and drops duplicate options. System MCP servers with insecure command permissions are skipped. Policy argsPattern checks run in linear time. A link disclosure shows the canonical path, and the consent prompt defaults to no. A local git clone is detected from the CLI path rather than the current directory. The IDE companion uses a per-user discovery directory and writes its port file atomically. Shell commands with an unresolved expansion still ask before they run. commandPrefix and commandRegex rules match the top-level command argument.

    Source for Gemini CLI 0.70.0 (opens in a new tab)

5 more in the release history

Newsletter

Get the weekly AI tool shortlist

One email when rankings change or a tool ships something that matters. No spam, unsubscribe anytime.