# clickhouse-sql-parser を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:clickhouse-sql-parser
```

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

### macOS

- Homebrew (100%):

```sh
brew install clickhouse-sql-parser
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:clickhouse-sql-parser
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.5.4
- **ソース概要:** Writing clickhouse sql parser in pure Go
- **ホームページ:** <https://github.com/AfterShip/clickhouse-sql-parser>
- **リポジトリ:** <https://github.com/AfterShip/clickhouse-sql-parser>
- **最終更新:** 2026-08-02T11:42:57Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- clickhouse-sql-parser (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.5.4
## プロジェクトの歴史と使われ方

ClickHouse SQL Parser is a Go library and CLI for parsing ClickHouse SQL into an AST and formatting or beautifying ClickHouse queries.

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

The official README says the project aims to build a ClickHouse SQL parser in Go and notes inspiration from memefish, a Go SQL parser for Cloud Spanner.

### 採用の歴史

The tool is available both as a Go install target and as a Homebrew formula, matching common distribution paths for Go developer CLIs.

### 使われ方

Developers import the parser package in Go code or run `clickhouse-sql-parser` from the shell to parse SQL strings, format SQL, beautify SQL, or read queries from files.

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

It is interesting to package managers because it bridges library and CLI packaging: the same Go module can be consumed by applications and installed as a standalone formatter/parser executable.

### Related projects

- The README explicitly cites memefish as an inspiration and targets the ClickHouse SQL dialect.

### ソース

- Official GitHub README: project goal, features, Go library examples, CLI installation, and usage examples.


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
