
Gemini CLI
Google's free, open-source AI agent for your terminal.
Visit Gemini CLI Free with a Google account (rate limits); API key for higher limits
What is Gemini CLI?
Gemini CLI brings Gemini into the terminal as an open-source agent that can read and edit code, run commands, search the web, and use MCP tools, with a free tier generous enough for everyday use with a personal Google account.
Key features
- Agentic coding in the terminal with file and shell tools
- Built-in Google Search grounding
- MCP support for custom tools
- Large context for whole-repo reasoning
- Open source under Apache 2.0
Pros
- The most generous free tier of any terminal coding agent
- Open source — inspect it, extend it, self-host it
- Search grounding is useful for library and API questions
Cons
- Behind Claude Code on the hardest multi-file refactors
- Free-tier rate limits can interrupt long sessions
- Terminal-only — no editor integration of its own
Best for
Developers who want a free Claude Code alternativeGoogle Cloud and Gemini API usersScripting and automation from the command line
Alternatives to Gemini CLI
Claude Code
4.7
Anthropic's terminal-based AI coding agent.
PaidRequires Claude API key (~$10-50/mo typical use)
Released February 2025Aider
4.4
The terminal-based AI pair programmer that knows your git history.
FreeFree (BYO API key)
Released May 2023OpenAI Codex
4.7
OpenAI's cloud-based autonomous coding agent — built on GPT-5.6.
PaidBundled with ChatGPT Pro ($200/mo)
Released May 2026

