
Gemini CLI
Google's open-source terminal agent for Gemini models, now aimed at API-key and business users.
- Verified facts
- 4 of 4
- Alternatives ranked
- 6
- Approved reviews
- 0
- Visits sent from here
- 0
About Gemini CLI
Gemini CLI is an open-source AI agent from Google that runs in your terminal. It can read and edit files across a project, run shell commands, search the web, plan tasks and work in headless mode for scripts, and it supports MCP servers, extensions, hooks, subagents and project instructions in a GEMINI.md file. It became popular in 2025 for a generous free tier tied to a Google account. That changed on 18 June 2026: Google replaced Gemini CLI with its closed-source Antigravity CLI for unpaid and Google One users. Gemini CLI still works with a Gemini API key, Vertex AI, and Gemini Code Assist Standard or Enterprise licences, and the code remains on GitHub under the Apache 2.0 licence, so it can be forked. Google has said it is not tuned for its newest models, which go to Antigravity first. It suits teams already paying for Gemini through Google Cloud or the API. It needs Node.js and runs on macOS, Windows and Linux.
Best for: Teams paying for Gemini via API or Code Assist who want an open-source terminal agent.
Pros and cons
What works
- Open source and forkable
- Large context window for working across big codebases
- Extensions, hooks, subagents and MCP support
Why people leave
- Free Google-account access was withdrawn in June 2026
- Not optimised for Google's newest models
- Long-term direction is uncertain beside Antigravity CLI
Top Gemini CLI alternatives
See all 6- 1
Claude Code77.6A polished commercial terminal agent with strong results on long tasks.
- 2
Qwen Code66.5An open-source CLI forked from Gemini CLI, built around Alibaba's Qwen models.
- 3
OpenAI Codex59.6OpenAI's open-source CLI, included with ChatGPT plans including a free tier.
- 4
OpenCode57.2Open-source terminal agent that works with Gemini and most other providers.
- 5
goose55.3Open-source local agent with a desktop app as well as a CLI.
Why people left Gemini CLI
In reviewers' own words, from reviews of the apps they moved to. These are their opinions, not ours.
No switching stories yet. If you moved away from Gemini CLI, review the app you switched to and tell us why.
Reviews
No approved reviews yet. How we verify reviewers
Write a review of Gemini CLI
Gemini CLI: common questions
Is Gemini CLI free?
Yes. Gemini CLI is free, open-source software.
Is Gemini CLI open source?
Yes. The source code is on GitHub at google-gemini/gemini-cli.
What platforms does Gemini CLI run on?
Gemini CLI is available for macOS, Windows and Linux.
What are the best alternatives to Gemini CLI?
The highest-ranked Gemini CLI alternatives right now are Claude Code, Qwen Code and OpenAI Codex. See the full ranked list for pricing, platforms and verified facts.