CLI Finder / tools / gemini-cli

用于终端原生 AI Agent 工作流的 Gemini CLI

在终端使用 Gemini 做编程辅助、仓库探索和带工具调用的本地流程。

Agent 适配度: 84/100 已验证发布者 持续维护
84 /100

Useful as an AI coding CLI when shell and file permissions are scoped.

Structured output 58/100

Whether the CLI can return JSON, YAML, or stable machine-readable output.

Non-interactive use 88/100

Whether common workflows can run predictably without an interactive prompt.

Safety boundaries 70/100

Whether read-only, dry-run, scoped auth, and destructive command boundaries are clear.

安装方式

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

常用命令

Start Gemini CLI · 需确认 $ gemini

Opens a terminal-native AI agent session.

Run a focused prompt · 安全 $ gemini "summarize this repository"

Asks for bounded analysis over local context.

Agent 使用示例

Human developer Use Gemini CLI for repo exploration and command assistance, then verify any suggested command before running it.

安全说明

  • Treat shell execution, file edits, and remote operations as review-required actions.
  • Use project-scoped instructions and avoid broad filesystem access for production work.

Agent 可以用它做什么

Gemini CLI 为开发者提供终端中的 AI 编程辅助、文件理解和命令规划能力。

适合场景

适合探索式编程辅助,前提是开发者会审查工具调用和 shell 操作。