к каталогу

📦 gemini-cli/ google-gemini

An open-source AI agent that brings the power of Gemini directly into your terminal.

Открыть на GitHubобновлён 12ч назад
Звёзды
106.2k
Форки
14.3k
За неделю
За месяц
Рост %
Язык
TypeScript

Установка и запуск

Basic Usage

Start in current directory

gemini

Include multiple directories

gemini --include-directories ../lib,../docs

Use specific model

gemini -m gemini-2.5-flash

Non-interactive mode for scripts

Get a simple text response:

gemini -p "Explain the architecture of this codebase"

For more advanced scripting, including how to parse JSON and handle errors, use the --output-format json flag to get structured output:

gemini -p "Explain the architecture of this codebase" --output-format json

For real-time event streaming (useful for monitoring long-running operations), use --output-format stream-json to get newline-delimited JSON events:

gemini -p "Run tests and deploy" --output-format stream-json

Из README репозитория · полный README на GitHub

Категории

Теги

aiai-agentscligeminigemini-apimcp-clientmcp-server