docs: add Homebrew installation to the CLI guide (#5197)

The public CLI guide covers the hosted installer, but users looking for
a Homebrew install have to find the tap themselves. This adds the tap's
install and upgrade commands alongside the shell installer. The shell
example shows how to pin a release to `v0.42.0`.

This was accomplished with the following changes:

- Add Homebrew installation, version verification, and upgrade commands
to `docs/web/tools/cli.mdx`.
- Give the shell installer its own subsection under the existing Install
heading.

### Testing

The shell installer tests passed. Verified that the install instructions
match the composed page in
[docs#475](https://github.com/lancedb/docs/pull/475).
This commit is contained in:
Bruno Ramirez
2026-11-24 10:44:34 -08:00
committed by GitHub
parent 27b7a248e4
commit f5d1cd67c7
+15 -2
View File
@@ -18,8 +18,21 @@ statements supported by your deployment.
## Install
On Apple Silicon macOS or Linux (x86-64 or ARM64), run the hosted installer.
It downloads the latest stable CLI for your platform, verifies the archive's
On Apple Silicon macOS or Linux (x86-64 or ARM64), install the CLI with
Homebrew or the hosted shell installer.
### Homebrew
```sh
brew install lancedb/tap/lancedb
lancedb --version
```
To upgrade an existing Homebrew installation, run `brew upgrade lancedb/tap/lancedb`.
### Shell installer
The installer downloads the latest stable CLI for your platform, verifies the archive's
SHA-256 checksum, and installs the executable in `$HOME/.local/bin`.
```sh