macOS
brew install clickhouse-sql-parserlocal Homebrew formula metadata
brew
Writing clickhouse sql parser in pure Go. Version 0.5.1 via Homebrew; verified 2026-04-21.
install
brew install clickhouse-sql-parserlocal Homebrew formula metadata
overview
Writing clickhouse sql parser in pure Go
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
clickhouse-sql-parser | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/AfterShip/clickhouse-sql-parser
install metadata
| Package key | brew:clickhouse-sql-parser |
|---|---|
| Version | 0.5.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/clickhouse-sql-parser |
| Homepage | https://github.com/AfterShip/clickhouse-sql-parser |
| Repository | https://github.com/AfterShip/clickhouse-sql-parser |
| Upstream docs | https://github.com/AfterShip/clickhouse-sql-parser#readme |
| License | MIT |
| Source archive | https://github.com/AfterShip/clickhouse-sql-parser/archive/refs/tags/v0.5.1.tar.gz |
| Last updated | 2026-04-21T06:24:49Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clickhouse-sql-parser |
| 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 |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.