Skip to content

Installation

Install SQLsaber, then confirm that the saber command runs.

If you already have uv:

Terminal window
uv tool install sqlsaber

If you do not have uv, use uvx.sh. One command installs SQLsaber. You do not need uv or Python first.

On macOS and Linux:

Terminal window
curl -LsSf https://uvx.sh/sqlsaber/install.sh | sh

On Windows:

Terminal window
powershell -ExecutionPolicy ByPass -c "irm https://uvx.sh/sqlsaber/install.ps1 | iex"

The script installs uv when it is missing. Then it installs SQLsaber.

If you already use pipx:

Terminal window
pipx install sqlsaber
Terminal window
saber --version

You should see a version number.

Plugins add extra tools to the saber CLI. Pass each plugin package in --with when you run uv tool install. After a uvx.sh install, uv is on your machine. The same commands work.

Terminal window
# Charts in the terminal
uv tool install --with sqlsaber-viz sqlsaber
# Sandboxed notebook analysis
uv tool install --with sqlsaber-notebook sqlsaber
# One-off Python in a remote sandbox
uv tool install --with sqlsaber-sandbox sqlsaber
# All three
uv tool install --with sqlsaber-viz,sqlsaber-notebook,sqlsaber-sandbox sqlsaber

See Plugins for setup and usage.

If you installed with uv or uvx.sh:

Terminal window
uv tool upgrade sqlsaber

If you installed with pipx:

Terminal window
pipx upgrade sqlsaber
Terminal window
saber

On first launch, SQLsaber walks you through a database connection and an API key. Continue in Getting started.