Skip to content
StackPick

Gemini CLI

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

Best for A terminal agent on Gemini

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.

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

Cons

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

Pricing

Free

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

Alternatives

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