Automic VaultAutomic Vault

brew / 承認ゲート

gemini-cli を Homebrew, MacPorts, Nix, pacman, zypper でインストール

gemini-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

エージェント安全性

エージェント安全性の回答

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.

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install gemini-cli

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install gemini-cli

MacPorts ports tree · llm/gemini-cli/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#gemini-cli

nixpkgs package indexes · pkgs/by-name/ge/gemini-cli/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S gemini-cli

Arch Linux sync databases · gemini-cli · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install gemini-cli

openSUSE 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.

タイムライン

  • 2025-06-25: Google announces Gemini CLI as an open-source AI agent for the terminal.
  • 2025: The repository publishes early preview, stable, and nightly release-channel tags.
  • 2025: Homebrew, MacPorts, npm, and other package-manager entries make the tool installable through common developer workflows.

Related projects

  • Gemini CLI is related to Gemini Code Assist, Google AI Studio, Vertex AI, MCP servers, and the broader family of terminal AI agents used for code navigation and automation.

承認ゲート

危険なコマンドの人手レビュー用メタデータ

ローカルの承認ゲートシードには gemini-cli 用のルールが 5 件含まれます。対象エントリポイント: gemini。重大度ラベル: 重大, 高, 中。カバレッジ: partial、レビュー日: 2026-05-21。

ゲート対象アクション例

  • Send a prompt to a remote Gemini model.
  • Include broad workspace file context in a Gemini session.
  • Run with reduced approval prompts or automatic tool execution.
  • Enable checkpointing that writes session state to disk.
  • Configure or use MCP servers from the Gemini CLI.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
~/.gemini/settings.json.gemini/settings.json/etc/gemini-cli/settings.json/etc/gemini-cli/system-defaults.json
macOS
~/.gemini/settings.json.gemini/settings.json/Library/Application Support/GeminiCli/settings.json/Library/Application Support/GeminiCli/system-defaults.json
Windows
~/.gemini/settings.json.gemini/settings.jsonC:\ProgramData\gemini-cli\settings.jsonC:\ProgramData\gemini-cli\system-defaults.json

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
geminicliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版0.46.0
マネージャ更新日2026-06-15
ローカルデータOK
上流not checked
検出された最新未検出

https://geminicli.com

  • 情報Release/tag comparison is only available for GitHub repositories.https://geminicli.com信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係node
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegemini-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

gemini-cli

nix profile install nixpkgs#gemini-cli
  • normalized package name match
  • 一致条件: Gemini Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ge/gemini-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

gemini-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-cli
  • License: Apache-2.0
  • Architecture: x86_64
  • 6 依存関係
  • 4 任意依存関係
  • normalized package name match
  • 一致条件: Gemini Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gemini-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gemini-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-cli
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: gemini-cli
  • 7 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Gemini Cli
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gemini-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gemini-cli

sudo port install gemini-cli
  • normalized package name match
  • 一致条件: Gemini Cli
MacPorts ports tree · api.github.com · MacPorts ports tree: llm/gemini-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • approval-gate seed metadata
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment