About Gemini CLI
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
Good fit for
- AI-assisted coding in the terminal
- Automating shell and file tasks
- Connecting custom tools through MCP
Gemini CLI: questions and answers
- What is Gemini CLI used for?
- Gemini CLI is 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. It is a good fit for AI-assisted coding in the terminal, automating shell and file tasks, and connecting custom tools through MCP.
- Is Gemini CLI open source?
- Yes. Gemini CLI is open source under the Apache-2.0 licence. Its source code is on GitHub at google-gemini/gemini-cli and is written mainly in TypeScript.
- Is Gemini CLI free?
- Yes. Gemini CLI is open source, so the software itself is free to use.
- What is Gemini CLI an alternative to?
- Gemini CLI is an open-source alternative to Claude Code, Amazon Q Developer, Augment Code and Google Antigravity. Other open-source alternatives to Claude Code include Aider, Kilo Code and Continue.
- Is Gemini CLI actively maintained?
- Yes. The most recent commit to Gemini CLI was on 12 November 2026, and the latest release is v0.68.0, published on 10 November 2026. The project has 109k stars on GitHub, with 1.5k added in the last 30 days.
Open-source alternatives to Gemini CLI
See all
Aider
AI Tools
aider is AI pair programming in your terminal
Apache-2.0vs Claude Code★ 50k
Kilo Code
AI Tools
Kilo is the all-in-one agentic engineering platform. Build, ship, and iterate faster with
MITvs Cursor★ 28k
Continue
AI Tools
open-source coding agent
Apache-2.0vs GitHub Copilot★ 36k
OpenCode
AI Tools
The open source coding agent.
MITvs Claude Code★ 226k
OpenHands
AI Tools
🙌 OpenHands: AI-Driven Development
MITvs Devin★ 93k
Tabby
AI Tools
Self-hosted AI coding assistant
OSSvs GitHub Copilot★ 34k
SaaS alternatives to Gemini CLI
See all
Claude Code
AI Tools
Anthropic coding agent for the terminal, IDEs and web that edits code and runs commands
SaaS
Amazon Q Developer
AI Tools
AWS AI assistant for coding, debugging and cloud operations
SaaS
Augment Code
AI Tools
AI coding assistant for large codebases with context-aware chat and agents
SaaS
Google Antigravity
AI Tools
Agent-first coding environment from Google built around Gemini models
SaaS
Jules
AI Tools
Asynchronous coding agent from Google that works on GitHub repositories
SaaS
OpenAI Codex
AI Tools
Coding agent from OpenAI available in the cloud, terminal and IDE
SaaS

Gemini Code Assist