
Gemini CLI
Open SourceGoogle’s open-source terminal agent with search and MCP support.
Gemini CLI is Google’s open-source AI agent for the terminal. Its official README highlights built-in tools for search, shell, file operations, and web fetching, plus MCP support. Since June 18, 2026, free individual access and Google AI Pro / Ultra plans have moved to Antigravity CLI; Gemini CLI now targets Gemini Code Assist and API-key users.
Best for
Teams that want an official Google-backed terminal agent with live-web context.
Review summary
A strong official option if you want terminal-native agent behavior plus Google Search grounding inside a Google Cloud or API-key setup.
Read the full reviewPros
- +Open source
- +Built-in search grounding
- +MCP support
Cons
- −No free personal tier since June 2026 (moved to Antigravity CLI)
- −Behavior is tightly coupled to Google auth and model choices
Install
The official Gemini CLI README documents npm as the primary installation path (Homebrew and MacPorts also work). Note: since June 18, 2026, free personal Google sign-in and Google AI Pro / Ultra access moved to Antigravity CLI, so plan on a Gemini Code Assist license or an API key.
npm install -g @google/gemini-cli@latest
Quickstart
Start in the current directory:
gemini
Non-interactive mode:
gemini -p "Explain the architecture of this codebase"
Use a specific model:
gemini -m gemini-2.5-flash


