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