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.
This commit is contained in:
Bruno Ramirez
2026-12-01 11:45:04 -08:00
committed by GitHub
parent 82620b1b8e
commit 1a8810e81d
2 changed files with 18 additions and 2 deletions
+17 -1
View File
@@ -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
+1 -1
View File
@@ -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