凭据访问
Reads model API credentials, environment variables, and files included in prompts.
代理安全
gemini-cli is an AI CLI that can combine model access with local files and tool calls.
Reads model API credentials, environment variables, and files included in prompts.
Can drive local commands or API calls if granted tool access.
Can generate code and release commands that become artifacts.
Run in containment and gate all secret-backed or mutating commands.
Limit file scope and require approval before exposing secrets or running deployment tools.
安装
brew install gemini-clilocal Homebrew formula metadata
sudo port install gemini-cliMacPorts ports tree · llm/gemini-cli/Portfile · 来源: api.github.com
nix profile install nixpkgs#gemini-clinixpkgs package indexes · pkgs/by-name/ge/gemini-cli/package.nix · 来源: api.github.com
sudo pacman -S gemini-cliArch Linux sync databases · gemini-cli · 来源: geo.mirror.pkgbuild.com
sudo zypper install gemini-cliopenSUSE Tumbleweed package metadata · gemini-cli · 来源: download.opensuse.org
概览
Interact with Google Gemini AI models from the command-line
历史
Gemini CLI is Google's open-source terminal agent for interacting with Gemini models from the command line. It became significant quickly because Google launched it as an Apache-2.0 project with free individual access, Code Assist integration, built-in tools, and package-manager distribution through npm and Homebrew.
Google announced Gemini CLI on June 25, 2025 as an open-source AI agent that brings Gemini into developers' terminals. The launch positioned the CLI as a local utility for coding, content generation, research, problem solving, and task management rather than only as a chat wrapper.
The public repository developed around a terminal-first workflow: installation through npm or Homebrew, documented release channels, configuration through settings files and `GEMINI.md`, support for non-interactive invocation, and integration points such as MCP servers and extensions.
Gemini CLI's adoption path was tied to Google's Gemini Code Assist product line. The launch article stated that the tool shared technology with Gemini Code Assist, giving developers prompt-driven AI help in both VS Code and the terminal.
Package-manager adoption followed the developer-tool pattern: the README documents global npm installation, `npx` execution, Homebrew installation, and MacPorts packaging. That made the CLI visible both to JavaScript users and to developers who expect AI tools to install like ordinary command-line utilities.
Practitioners use Gemini CLI inside source trees to ask questions about code, edit files, run shell commands, debug failures, generate applications from multimodal inputs, and automate tasks from scripts. The tool also supports Google Search grounding, file operations, web fetching, conversation checkpointing, and project-specific context files.
Teams use the CLI alongside Gemini Code Assist and GitHub workflows, while individual users often treat it as a terminal-native coding assistant that can operate without leaving the shell.
For package nerds, Gemini CLI is a marker of AI coding tools becoming ordinary CLI packages. It is distributed through language-package tooling and system package managers, has documented stable, preview, and nightly release channels, and exposes configuration paths that matter for reproducible developer environments.
审批门
本地审批门种子包含 5 条适用于 gemini-cli 的规则。覆盖的入口点:gemini。严重级别:严重, 高, 中。覆盖状态:partial,审核于 2026-05-21。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.gemini/settings.json.gemini/settings.json/etc/gemini-cli/settings.json/etc/gemini-cli/system-defaults.json~/.gemini/settings.json.gemini/settings.json/Library/Application Support/GeminiCli/settings.json/Library/Application Support/GeminiCli/system-defaults.json~/.gemini/settings.json.gemini/settings.jsonC:\ProgramData\gemini-cli\settings.jsonC:\ProgramData\gemini-cli\system-defaults.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gemini | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gemini-cli |
|---|---|
| 版本 | 0.46.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gemini-cli |
| 主页 | https://geminicli.com |
| 仓库 | https://github.com/google-gemini/gemini-cli |
| 上游文档 | https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/cli-reference.md |
| 许可证 | Apache-2.0 |
| 源码归档 | https://registry.npmjs.org/@google/gemini-cli/-/gemini-cli-0.46.0.tgz |
| 最后更新 | 2026-06-15T10:20:17-04:00 |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gemini-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gemini-cli
nix profile install nixpkgs#gemini-cligemini-cli 1:0.45.2-1
Open-source AI agent that brings the power of Gemini directly into your terminal
https://github.com/google-gemini/gemini-cli
sudo pacman -S gemini-cligemini-cli 0.45.2-1.1
An AI agent that brings the power of Gemini directly into your terminal
https://github.com/google-gemini/gemini-cli
sudo zypper install gemini-cligemini-cli
sudo port install gemini-cli来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.