Automic VaultAutomic Vault

brew

Install clickhouse-sql-parser with Homebrew

Writing clickhouse sql parser in pure Go. Version 0.5.1 via Homebrew; verified 2026-04-21.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install clickhouse-sql-parser

local Homebrew formula metadata

overview

Package summary

Writing clickhouse sql parser in pure Go

Commands and aliases

  • clickhouse-sql-parser

history

Project history and usage

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

Project history

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.

Adoption history

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

How it is used

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.

Why package nerds care

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.

Sources

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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
clickhouse-sql-parsercliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.5.1
manager updated2026-04-21
local dataok
upstreamcurrent
latest detectedv0.5.1

https://github.com/AfterShip/clickhouse-sql-parser

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:clickhouse-sql-parser
Version0.5.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/clickhouse-sql-parser
Homepagehttps://github.com/AfterShip/clickhouse-sql-parser
Repositoryhttps://github.com/AfterShip/clickhouse-sql-parser
Upstream docshttps://github.com/AfterShip/clickhouse-sql-parser#readme
LicenseMIT
Source archivehttps://github.com/AfterShip/clickhouse-sql-parser/archive/refs/tags/v0.5.1.tar.gz
Last updated2026-04-21T06:24:49Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclickhouse-sql-parser
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment