# chainhook を Homebrew, winget でインストール

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

## インストール

```sh
sudo av install brew:chainhook
```

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

### macOS

- Homebrew (100%):

```sh
brew install chainhook
```

  証拠: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id HiroSystems.Chainhook -e
```

  証拠: Windows Package Manager source index: HiroSystems.Chainhook from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:chainhook
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/chainhook>
- **バージョン:** 1.9.0
- **ソース概要:** Reorg-aware indexing engine for the Stacks & Bitcoin blockchains
- **ホームページ:** <https://github.com/hirosystems/chainhook>
- **リポジトリ:** <https://github.com/hirosystems/chainhook>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://github.com/hirosystems/chainhook/archive/refs/tags/v1.9.0.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- chainhook (cli)
- chainhook (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.9.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/hirosystems/chainhook
- 検出された最新: v1.9.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

Chainhook is Hiro Systems' reorg-aware indexing and event trigger engine for Stacks and Bitcoin. It lets developers define predicates for the on-chain events they care about and send matching events to files or HTTP endpoints.

### プロジェクトの歴史

The official README describes Chainhook as a transaction indexing engine for reliable blockchain data across forks and reorgs, focused on lighter indexes and IFTTT-style predicates. Hiro's August 2023 release roundup says Hiro launched Chainhook as an open-source engine for efficient indexing and webhook-style triggers.

### 採用の歴史

The README documents Homebrew installation for macOS, Snap for Linux, Winget for Windows, GitHub release builds, and source builds with cargo. Hiro later described programmatic API access for platform-hosted chainhooks, and 2025-2026 Hiro posts describe Chainhook 2.0/v2 testing, beta, and general availability, showing the concept moved from local CLI engine into hosted platform infrastructure.

### 使われ方

Developers create predicate JSON files for Bitcoin or Stacks, scan chain data with a local bitcoind or Stacks node, and route matches through actions such as HTTP POST or file append. The README covers txid, output, OP_RETURN, Ordinals, Stacks asset, event, contract-call, and contract-deployment predicates.

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

Chainhook is notable because it packages blockchain indexing as a developer-controlled CLI rather than only as a hosted API. For package ecosystems, it is also a Rust/Cargo-era tool distributed through Brew, Snap, Winget, source builds, and GitHub releases, aimed at developers who need reproducible local and CI behavior around on-chain events.

### タイムライン

- 2023: Hiro launched Chainhook as an open-source engine for efficient indexing and webhook-style triggers.
- 2024: Hiro released Chainhook v1.3.0 with Prometheus metrics support.
- 2025: Hiro reported Chainhook 2.0 alpha testing and later limited-access beta.
- 2026: Hiro announced Chainhooks v2 generally available and migration away from hosted v1.

### Related projects

- Chainhook is related to the Stacks Blockchain API, Hiro Platform, Clarinet/devnet workflows, bitcoind, Ordhook, Ordinals indexing, and Bitcoin/Stacks node infrastructure.

### ソース

- <https://github.com/hirosystems/chainhook#readme>
- <https://www.hiro.so/blog/release-roundup-august-2023>
- <https://www.hiro.so/blog/release-roundup-february-2024>
- <https://www.hiro.so/blog/announcing-programmatic-api-access-to-chainhook-and-devnet>
- <https://www.hiro.so/blog/release-roundup---september-2025>
- <https://www.hiro.so/blog/chainhooks-v2-is-now-generally-available>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** chainhook
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- winget - HiroSystems.Chainhook: normalized package name match | Windows Package Manager source index: HiroSystems.Chainhook from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [clarinet](https://pkg.so/ja/brew/clarinet/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools, stacks.
- [anchor](https://pkg.so/ja/brew/anchor/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools.
- [near](https://pkg.so/ja/brew/near/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools.
- [sui](https://pkg.so/ja/brew/sui/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools.
- [notmuch](https://pkg.so/ja/brew/notmuch/) - Shares pkgdb curated category or tags: cli, developer-tools, indexing.
- [solana](https://pkg.so/ja/brew/solana/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools.
- [aptos](https://pkg.so/ja/brew/aptos/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools.
- [stellar-cli](https://pkg.so/ja/brew/stellar-cli/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools.
- [codama](https://pkg.so/ja/npm/codama/) - Local package facts share a topical domain. Shared terms: blockchain, cli, developer, developer-tools.
- [ethereum-waffle](https://pkg.so/ja/npm/ethereum-waffle/) - Local package facts share a topical domain. Shared terms: blockchain, cli, developer, developer-tools.
- [evm-wallet.js](https://pkg.so/ja/npm/evm-wallet-js/) - Local package facts share a topical domain. Shared terms: blockchain, cli, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/chainhook.yml](https://github.com/mxcl/pkgdb/blob/main/combined/chainhook.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
