Skip to content

Commit 4bf5fa5

Browse files
soyeric128BohuTANG
authored andcommitted
Update index.md
1 parent 1aad788 commit 4bf5fa5

File tree

1 file changed

+68
-1
lines changed
  • docs/en/guides/30-sql-clients/00-bendsql

1 file changed

+68
-1
lines changed

docs/en/guides/30-sql-clients/00-bendsql/index.md

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,74 @@ BendSQL is particularly useful for those who prefer a command line interface and
88

99
## Installing BendSQL
1010

11-
BendSQL can be installed on various platforms using different package managers. The following sections outline the installation steps for BendSQL using Homebrew (for macOS), Apt (for Ubuntu/Debian), and Cargo (Rust Package Manager). Alternatively, you can download the installation package from the [BendSQL release page](https://github.com/databendlabs/bendsql/releases) on GitHub and install BendSQL manually.
11+
BendSQL offers multiple installation options to suit different platforms and preferences. Choose your preferred method from the sections below or download the installation package from the [BendSQL release page](https://github.com/databendlabs/bendsql/releases) to install it manually.
12+
13+
### Shell Script
14+
15+
BendSQL provides a convenient Shell Script for installation. You can choose between two options:
16+
17+
#### Default Installation
18+
19+
Install BendSQL to the user's home directory (~/.bendsql):
20+
21+
```bash
22+
# highlight-next-line
23+
curl -fsSL https://repo.databend.com/install/bendsql.sh | bash
24+
25+
B E N D S Q L
26+
Installer
27+
28+
--------------------------------------------------------------------------------
29+
Website: https://databend.com
30+
Docs: https://docs.databend.com
31+
Github: https://github.com/databendlabs/bendsql
32+
--------------------------------------------------------------------------------
33+
34+
>>> We'll be installing BendSQL via a pre-built archive at https://repo.databend.com/bendsql/v0.22.2/
35+
>>> Ready to proceed? (y/n)
36+
37+
>>> Please enter y or n.
38+
>>> y
39+
40+
--------------------------------------------------------------------------------
41+
42+
>>> Downloading BendSQL via https://repo.databend.com/bendsql/v0.22.2/bendsql-aarch64-apple-darwin.tar.gz ✓
43+
>>> Unpacking archive to /Users/eric/.bendsql ... ✓
44+
>>> Adding BendSQL path to /Users/eric/.zprofile ✓
45+
>>> Adding BendSQL path to /Users/eric/.profile ✓
46+
>>> Install succeeded! 🚀
47+
>>> To start BendSQL:
48+
49+
bendsql --help
50+
51+
>>> More information at https://github.com/databendlabs/bendsql
52+
```
53+
54+
#### Custom Installation with `--prefix`
55+
56+
Install BendSQL to a specified directory (e.g., /usr/local):
57+
58+
```bash
59+
# highlight-next-line
60+
curl -fsSL https://repo.databend.com/install/bendsql.sh | bash -s -- -y --prefix /usr/local
61+
B E N D S Q L
62+
Installer
63+
64+
--------------------------------------------------------------------------------
65+
Website: https://databend.com
66+
Docs: https://docs.databend.com
67+
Github: https://github.com/databendlabs/bendsql
68+
--------------------------------------------------------------------------------
69+
70+
>>> Downloading BendSQL via https://repo.databend.com/bendsql/v0.22.2/bendsql-aarch64-apple-darwin.tar.gz ✓
71+
>>> Unpacking archive to /usr/local ... ✓
72+
>>> Install succeeded! 🚀
73+
>>> To start BendSQL:
74+
75+
bendsql --help
76+
77+
>>> More information at https://github.com/databendlabs/bendsql
78+
```
1279
1380
### Homebrew (for macOS)
1481

0 commit comments

Comments
 (0)