gemini-cli

gemini-cli

Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.

MCPDevOpen source
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 105.5k
Source
mcp-github

Overview

Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal. With lightweight access, it provides the most direct path from prompt to model. It supports multiple built-in tools such as Google Search, file operations, shell commands, and web scraping, and can be extended via the MCP protocol. Ideal for developers who work in the command line.

Capabilities

  • Querying and editing large codebases
  • Generating new applications
  • Debugging issues and troubleshooting using natural language
  • Automating operational tasks
  • Connecting new capabilities (e.g., media generation)
  • Real-time information queries

Use cases

Code understanding and generationAutomation of task processingGitHub workflow integrationSaving and restoring complex conversations

Setup

Requires: Google 账户
npm install -g @google/gemini-cli

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I install Gemini CLI?

You can install it globally via npm: npm install -g @google/gemini-cli

What authentication methods does Gemini CLI support?

Supports OAuth login using a Google account

Related skills