Skip to content

Commit 2e25715

Browse files
authored
Update README with homebrew instruction (#106)
1 parent 004bbd6 commit 2e25715

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,24 @@ if err != nil {
2929
}
3030
```
3131

32-
- Use clickhouse-sql-parser as a CLI tool
32+
- Install clickhouse-sql-parser as a CLI tool
33+
34+
35+
On Linux:
3336

3437
```bash
3538
$ go install github.com/AfterShip/clickhouse-sql-parser@latest
39+
```
40+
41+
On macOS:
42+
43+
```bash
44+
$ brew install clickhouse-sql-parser
45+
```
46+
47+
Parse ClickHouse SQL into AST or beautify ClickHouse SQL format:
48+
49+
```bash
3650
## Parse query into AST
3751
$ clickhouse-sql-parser "SELECT * FROM clickhouse WHERE a=100"
3852

0 commit comments

Comments
 (0)