Gemini CLI
An open-source command-line AI agent that brings Google's Gemini models into the terminal, with built-in tools and Model Context Protocol support.
- GitHub stars
- 107k
- Last commit
- yesterday
- Latest release
- v0.62.0
- Licence
- Apache-2.0

Gemini CLI is Google's open-source terminal agent for working with Gemini models from the command line. It offers a lightweight path from a prompt on the command line to the model, and it is designed for developers who spend their day in a shell. The project is written in TypeScript and licensed under Apache-2.0.
Built-in tools cover Google Search grounding, file operations, shell commands and web fetching, and further integrations can be added through the Model Context Protocol (MCP). The project highlights access to Gemini models with a large context window, and a free tier when you sign in with a personal Google account.
You can run it instantly with npx or install it globally with npm, Homebrew, MacPorts or Anaconda. It has preview, stable and nightly release channels published on a regular schedule. It suits developers who want an AI assistant for code and shell tasks without leaving the terminal.
Key features
- Terminal-first AI agent powered by Gemini
- Google Search grounding for current information
- Built-in file, shell and web-fetch tools
- MCP support for custom integrations
- Install via npx, npm, Homebrew or MacPorts
- Preview, stable and nightly release channels
Pricing: Free tier with a Google account; open source so it can be self-hosted. Paid routes (Google AI Pro, AI Ultra, Developer Program, AI Studio pay-as-you-go, Vertex AI) are listed without prices on this page.





