# chdig を Homebrew, scoop でインストール

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

## インストール

```sh
sudo av install brew:chdig
```

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

### macOS

- Homebrew (100%):

```sh
brew install chdig
```

  証拠: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install extras/chdig
```

  証拠: Scoop official bucket manifest trees: bucket/chdig.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:chdig
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/chdig>
- **バージョン:** 26.7.1
- **ソース概要:** Dig into ClickHouse with TUI interface
- **ホームページ:** <https://github.com/azat/chdig>
- **リポジトリ:** <https://github.com/azat/chdig>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/azat/chdig/archive/refs/tags/v26.7.1.tar.gz>
- **最終更新:** 2026-07-18T15:14:35Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- rust

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 26.7.1
- マネージャ更新日: 2026-07-18
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/azat/chdig
- 検出された最新: v26.7.1 (最新)
## プロジェクトの歴史と使われ方

chdig is a Rust terminal UI for inspecting ClickHouse systems, positioned by its README as a ClickHouse-oriented cousin of top or csysdig for database introspection.

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

The repository was created in January 2023 by Azat Khuzhin. The README traces the idea to everyday ClickHouse debugging work and to a 2022 "Know Your ClickHouse" presentation that collected ClickHouse introspection tools before the project became an interactive TUI.

### 採用の歴史

The project remains niche and ClickHouse-specific, but its own README documents standalone Linux and macOS binaries, deb/rpm/tar.gz artifacts, AUR packages, Scoop, Homebrew, and availability through ClickHouse as `clickhouse chdig`.

### 使われ方

Users run chdig against ClickHouse to browse server and query state, use flamegraph and Perfetto-oriented views, inspect logs and query pipelines, and optionally aggregate across a cluster or include historical system log tables.

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

For package-manager people, chdig is interesting because it packages a database-specific operational TUI as both a standalone formula and a ClickHouse subcommand, with release artifacts spanning Linux, macOS, Arch/AUR, Scoop, and Homebrew.

### タイムライン

- 2022: Project motivation documented through a Know Your ClickHouse presentation.
- 2023: GitHub repository created.
- 2023: v0.2.0 release published.
- 2024: v24.x releases align the versioning with ClickHouse-era release numbers.

### Related projects

- ClickHouse is the database being inspected.
- csysdig is cited by the README as a closer model than top for the interface.
- flamelens, Perfetto, speedscope, pastila.nl, and viz.js are referenced as related tooling for flamegraph, trace, sharing, and query-pipeline workflows.

### ソース

- <https://github.com/azat/chdig>
- <https://api.github.com/repos/azat/chdig>
- <https://api.github.com/repos/azat/chdig/releases>


## セキュリティノート

narrow executable package without higher-risk signals.

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


## 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

- Unix: ./clickhouse-client.[xml|yaml|yml], $XDG_CONFIG_HOME/clickhouse/config.[xml|yaml|yml], ~/.config/clickhouse/config.[xml|yaml|yml], ~/.clickhouse-client/config.[xml|yaml|yml], /etc/clickhouse-client/config.[xml|yaml|yml], path set by CLICKHOUSE_CONFIG, --config

## Credential files

- Unix: ./clickhouse-client.[xml|yaml|yml], $XDG_CONFIG_HOME/clickhouse/config.[xml|yaml|yml], ~/.config/clickhouse/config.[xml|yaml|yml], ~/.clickhouse-client/config.[xml|yaml|yml], /etc/clickhouse-client/config.[xml|yaml|yml], path set by CLICKHOUSE_CONFIG, --config
## ソースデータベース詳細

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

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

- Scoop - extras/chdig: normalized package name match | Scoop official bucket manifest trees: bucket/chdig.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## 関連リンク

- [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.
- [libpq](https://pkg.so/ja/brew/libpq/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [dwarfutils](https://pkg.so/ja/brew/dwarfutils/) - Shares pkgdb curated category or tags: cli, debugging, developer-tools.
- [neonctl](https://pkg.so/ja/brew/neonctl/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [delve](https://pkg.so/ja/brew/delve/) - Shares pkgdb curated category or tags: cli, debugging, developer-tools.
- [liquibase](https://pkg.so/ja/brew/liquibase/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [diesel](https://pkg.so/ja/brew/diesel/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [dblab](https://pkg.so/ja/brew/dblab/) - Shares pkgdb curated category or tags: cli, database, developer-tools, tui.
- [eralchemy](https://pkg.so/ja/brew/eralchemy/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [demumble](https://pkg.so/ja/brew/demumble/) - Local package facts share a topical domain. Shared terms: cli, debugging, developer, developer-tools.
- [docker-debug](https://pkg.so/ja/brew/docker-debug/) - Local package facts share a topical domain. Shared terms: cli, debugging, developer, developer-tools.

## Combined YAML source

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


## ソース

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