Back to catalogPending
gemini-cli
An open-source AI agent that brings the power of Gemini directly into your terminal.
93,385stars
10,966forks
TypeScript
Added 12/27/2025
AI Agentsaiai-agentscligeminigemini-apimcp-clientmcp-server
Installation
# Add to your Claude Code skills
git clone https://github.com/google-gemini/gemini-cliGemini CLI

Gemini CLI is an open-source AI agent that brings the power of Gemini directly into your terminal. It provides lightweight access to Gemini, giving you the most direct path from your prompt to our model.
Learn all about Gemini CLI in our documentation.
🚀 Why Gemini CLI?
- 🎯 Free tier: 60 requests/min and 1,000 requests/day with personal Google account.
- 🧠 Powerful Gemini 3 models: Access to improved reasoning and 1M token context window.
- 🔧 Built-in tools: Google Search grounding, file operations, shell commands, web fetching.
- 🔌 Extensible: MCP (Model Context Protocol) support for custom integrations.
- 💻 Terminal-first: Designed for developers who live in the command line.
- 🛡️ Open source: Apache 2.0 licensed.
📦 Installation
Pre-requisites before installation
- Node.js version 20 or higher
- macOS, Linux, or Windows
Quick Install
Run instantly with npx
# Using npx (no installation required)
npx @google/gemini-cli
Install globally with npm
npm install -g @google/gemini-cli
Install globally with Homebrew (macOS/Linux)
brew install gemini-cli
Install globally with MacPorts (macOS)
sudo port install gemini-cli
Install with Anaconda (for restricted environments)
# Create and activate a new environment
conda create -y -n gemini_env -c conda-forge nodejs
conda activate gemini_env
# Install Gemini CLI globally via npm (inside the environment)
npm install -g @google/gemini-cli
Release Cadence and Tags
See Releases for more details.
Preview
New preview releases will be published each week at UTC 2359 on Tuesdays. These
releases will not have been fully vetted and may contain regressions or other
outstanding issues. Please help us test and install with preview tag.
npm install -g @google/gemini-cli@preview
Stable
- New stable releases will be published each week at UTC 2000 on Tuesdays, this will be the full pro...