From 1a8810e81d6b8b10bd63bc359e02082a37e432db Mon Sep 17 00:00:00 2001 From: Bruno Ramirez Date: Tue, 1 Dec 2026 11:45:04 -0800 Subject: [PATCH] docs(cli): document Python installation and publish retries (#5332) The CLI guide covers Homebrew, the shell installer, and manual downloads. Readers who use Python tools need the PyPI package name because it differs from the executable name. This adds examples for running the CLI once and installing it persistently, and clarifies how maintainers retry a partial PyPI upload. --- docs/web/tools/cli.mdx | 18 +++++++++++++++++- release_process.md | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/web/tools/cli.mdx b/docs/web/tools/cli.mdx index 23000d88c..a34a02f59 100644 --- a/docs/web/tools/cli.mdx +++ b/docs/web/tools/cli.mdx @@ -19,7 +19,7 @@ statements supported by your deployment. ## Install On Apple Silicon macOS or Linux (x86-64 or ARM64), install the CLI with -Homebrew or the hosted shell installer. +Homebrew, the hosted shell installer, or Python tools. ### Homebrew @@ -47,6 +47,22 @@ If you already use the Enterprise CLI, set `LANCEDB_INSTALL_DIR` to a separate absolute directory and invoke the public CLI by its full path. To upgrade, move the existing executable first. +### Python (uvx or pipx) + +The [`lancedb-tools` package on PyPI](https://pypi.org/project/lancedb-tools/) provides the `lancedb` command. +To run the CLI once with uv, use: + +```sh +uvx --from lancedb-tools lancedb --version +``` + +To keep the CLI on your `PATH`, install it with pipx: + +```sh +pipx install lancedb-tools +lancedb --version +``` + ### Manual download Download a CLI archive and `SHA256SUMS` from the diff --git a/release_process.md b/release_process.md index c73de19c6..6b00e8eef 100644 --- a/release_process.md +++ b/release_process.md @@ -218,7 +218,7 @@ After the three wheel tests and the Intel macOS source install pass, a member of the tag and install results and approves the `pypi-cli` deployment in the workflow run. The upload job publishes the tested wheels and source archive and verifies their SHA-256 digests against PyPI. If an upload stops partway, rerun the failed job in the same run -to finish uploading the original wheels. To verify the public install: +to finish uploading the original wheels and source archive. To verify the public install: ```sh uvx --from lancedb-tools==0.42.0 lancedb --version