Automic VaultAutomic Vault

brew

opencode を Homebrew, chocolatey, MacPorts, Nix, pacman, scoop, winget でインストール

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

エージェント安全性

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

opencode is an agent-facing coding tool that can read files and invoke local developer workflows.

認証情報アクセス

May access repository files, tool configs, and environment variables available to the agent session.

リモート変更

Can trigger local tools that mutate Git, cloud, or package state.

公開/成果物リスク

Can generate code or commands that become release artifacts.

推奨コントロール

Run under containment and gate sensitive tool actions.

エージェント利用ガイダンス

Use with scanned worktrees; require approval before commands that expose credentials or mutate remote systems.

インストール

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

macOS

Homebrew確認済み · 100%
brew install opencode

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install opencode

MacPorts ports tree · llm/opencode/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#opencode

nixpkgs package indexes · pkgs/by-name/op/opencode/package.nix · ソース: api.github.com

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

Arch Linux sync databases · opencode · ソース: geo.mirror.pkgbuild.com

Windows

Chocolatey確認済み · 92%
choco install opencode

Chocolatey community package catalog · opencode · ソース: community.chocolatey.org

Scoop確認済み · 92%
scoop install main/opencode

Scoop official bucket manifest trees · bucket/opencode.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id SST.OpenCodeDesktop -e

Windows Package Manager source index · SST.OpenCodeDesktop · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

AI coding agent, built for the terminal

コマンドとエイリアス

  • opencode

履歴

プロジェクトの歴史と使われ方

OpenCode is an open-source AI coding agent distributed for terminal, IDE, and desktop workflows. The project positions the CLI as a coding assistant with a native terminal interface, LSP awareness, multi-session work, session sharing, and support for many model providers.

プロジェクトの歴史

The official documentation and repository present OpenCode as a rapidly distributed developer tool rather than a project with a deeply documented pre-release history. Its packaging moved across the JavaScript ecosystem, Homebrew, Arch, Windows package managers, Nix, and a beta desktop app, which reflects the AI-coding-agent pattern of shipping a local CLI plus integrations rather than only a hosted service.

The repository installation notes distinguish the project-maintained Homebrew tap from the Homebrew core formula, saying the tap is recommended for faster updates while `brew install opencode` is maintained by Homebrew and updated less frequently. That distinction matters because the package in this batch is the Homebrew formula rather than the upstream tap.

採用の歴史

OpenCode's own site makes large adoption claims, including GitHub stars, contributors, commits, and monthly developer usage. Those are project-published metrics rather than independent measurements, but they show how the project presents itself: as a mainstream open-source alternative in the coding-agent ecosystem.

使われ方

Developers use `opencode` as an interactive agent for repository work: asking questions, requesting features, making code changes, undoing changes, and running parallel sessions. The docs list API keys as a prerequisite and describe use from a modern terminal emulator, with desktop and IDE forms for users who do not want only a TUI.

パッケージ好きにとっての重要性

OpenCode is package-nerdy because it is a CLI front end over a fast-moving agent stack: releases must coordinate model-provider auth, terminal UI behavior, editor integration, desktop artifacts, and package managers that update at different speeds. Its Homebrew formula is part of a broader install matrix rather than the single canonical upstream channel.

セキュリティ状態

保護ツール対応はまだ見つかっていません

opencode に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 2 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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.

Credential files

Credential-bearing paths to review before unattended agent runs.

macOS
~/Library/Application Support/opencode/auth.json~/Library/Application Support/opencode/account.json
Unix
$XDG_DATA_HOME/opencode/auth.json$XDG_DATA_HOME/opencode/account.json~/.local/share/opencode/auth.json~/.local/share/opencode/account.json

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://opencode.ai

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:opencode
バージョン1.17.15
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/opencode
ホームページhttps://opencode.ai
リポジトリhttps://github.com/anomalyco/opencode
上流ドキュメントhttps://opencode.ai/docs
ライセンスMIT
ソースアーカイブhttps://registry.npmjs.org/opencode-ai/-/opencode-ai-1.17.15.tgz
最終更新2026-07-08T16:55:07Z
Pulseupdated
依存関係node, ripgrep
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

opencode

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

opencode 1.17.3-1

The open source coding agent

https://github.com/anomalyco/opencode

sudo pacman -S opencode
  • License: MIT
  • Architecture: x86_64
  • 5 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Opencode
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: opencode from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

opencode

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

opencode

choco install opencode
  • normalized package name match
  • 一致条件: Opencode
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: opencode from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','office365homepremium'
Scoop95%

main/opencode

scoop install main/opencode
  • normalized package name match
  • 一致条件: Opencode
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/opencode.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

SST.OpenCodeDesktop

winget install --id SST.OpenCodeDesktop -e
  • normalized package name match
  • 一致条件: Opencode
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: SST.OpenCodeDesktop from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

SST.opencode

winget install --id SST.opencode -e
  • normalized package name match
  • 一致条件: Opencode
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: SST.opencode from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

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

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

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • 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