From f5d1cd67c733a5df459c8cfd7c6a6cc993f1f89c Mon Sep 17 00:00:00 2001 From: Bruno Ramirez Date: Tue, 24 Nov 2026 10:44:34 -0800 Subject: [PATCH] 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). --- docs/web/tools/cli.mdx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/web/tools/cli.mdx b/docs/web/tools/cli.mdx index 92730a9f0..23000d88c 100644 --- a/docs/web/tools/cli.mdx +++ b/docs/web/tools/cli.mdx @@ -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