AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompareGuides
Submit Tool
ToolsCategoriesTrendingNewCompareGuides
Home/
Code Assistant/
Gemini CLI
Gemini CLI logo

Gemini CLI

Active·★ 107.3k·Apache-2.0·Updated 2026-10-08
★ Most Popular★ Trending★ Essential

Gemini CLI is Google's open-source AI agent for the terminal. It gives you direct access to Gemini models from the command line and can read and edit your codebase, run shell commands, fetch web pages and ground answers with Google Search, all inside an interactive session.

It is aimed at developers who spend most of their day in a terminal. Typical uses include asking questions about and refactoring a large codebase, debugging with natural-language explanations of errors, automating repository chores such as querying pull requests or working through a complex rebase, and running it non-interactively in scripts. A companion GitHub Action brings the same agent into pull-request reviews and issue triage, and MCP servers extend it with custom tools.

Getting started: run it instantly with `npx @google/gemini-cli`, or install it with `npm install -g @google/gemini-cli` or Homebrew. On first launch you can sign in with a Google account, which includes a free tier (60 requests per minute and 1,000 per day), or use a Gemini API key or Vertex AI for more control and enterprise setups. A GEMINI.md file in your project tailors its behaviour.

#CLI#AI Agent#Gemini#Node.js#Automation
$ Install
$ npm install -g @google/gemini-cli
↗ Visit site★ GitHub
01

Features

01Free tier: 60 req/min and 1,000 req/day with a personal Google account
02Built-in tools: Google Search grounding, file ops, shell commands, web fetch
03Native MCP support for custom tool integrations
04Access to Gemini 3 models with 1M token context window
05Open source under Apache 2.0 license
02

Why choose it

+Generous free tier with a personal Google account, and no API key management needed to get started.
+Built-in tools cover the usual agent needs: file operations, shell commands, web fetching and Google Search grounding.
+Extensible through MCP servers, and usable both interactively and in scripts or CI via the GitHub Action.
+Apache-2.0 licensed, with weekly stable and preview releases plus nightly builds.
03

Trade-offs

!It is built around Gemini models; if your team standardises on another model provider, a provider-agnostic agent may fit better.
!Free-tier quotas and terms depend on the sign-in method, and organisational licenses require extra Google Cloud project setup.
!Like any agent that runs shell commands, it needs care around which commands you approve in your environment.
!Weekly release cadence means behaviour can change often; pin the stable channel for predictable CI use.
04

Compatibility

macOS
Native
Verified via docs
Linux
Supported
Verified via docs
Windows
Supported
Verified via docs
Node.js
Node.js 18+
Verified via docs
05

Quick start

1
$ npm install -g @google/gemini-cli
06

Use cases

↳Running AI-assisted development tasks directly in the terminal without switching contexts
↳Automating shell workflows with natural language instructions and real-time web grounding
↳Extending terminal AI capabilities with custom MCP servers for project-specific tools
07

How it compares

≈vs Claude Code and OpenAI Codex CLI: all three are first-party terminal coding agents from model vendors; Gemini CLI stands out for its free tier with a personal Google account, 1M-token context window and built-in Google Search grounding.
≈vs Open Interpreter: Open Interpreter is a terminal coding agent that emulates other harnesses to get the best out of low-cost and open models; Gemini CLI is the first-party path to Gemini models.
≈vs aider: aider is a model-agnostic, git-centric pair-programming tool; Gemini CLI is a broader agent with web, search and MCP tools.
08

Alternatives

Context7 logo
Context7★ 62.8k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
vs →
Open Interpreter logo
Open Interpreter★ 68.5k
A coding agent for the terminal, optimized for low-cost and open models. Forked from OpenAI's Codex, it can emulate other agent harnesses and runs commands in a native sandbox.
vs →
ragflow logo
ragflow★ 91.9k
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
GitHub MCP Server logo
GitHub MCP Server★ 33.5k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
UI-TARS-desktop logo
UI-TARS-desktop★ 39.2k
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
GPT Researcher logo
GPT Researcher★ 30.0k
An autonomous agent that conducts deep research on any data using any LLM provider, producing detailed reports with citations from web and local sources.
awesome-n8n-templates logo
awesome-n8n-templates★ 25.8k
Supercharge your workflow automation with this curated collection of n8n templates! Instantly connect your favorite apps-like Gmail, Telegram, Google Drive, Slack, and more-with ready-to-use, AI-powered automations. Save time, boost productivity, and unlock the true potential of n8n in just a few clicks.
Flowise logo
Flowise★ 55.5k
Visual builder for AI agents and LLM workflows. Discontinued: the repository was archived in August 2026 and the project reached end of life on August 31, 2026.
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases07How it compares08Alternatives
Stats
GitHub Stars★ 107.3k
Last commit1d ago
StatusActive
LicenseApache-2.0
CategoryCode Assistant
Trend (30d)
+4.2k↑ 4.8%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
AboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.