Installing divbase-cli¶
Recommended: uv¶
The recommended way to install divbase-cli is via uv, a fast Python package manager. uv manages isolated tool environments automatically, so there are no dependency conflicts and no need to manually create/activate a virtual environment
Step 1 — Install uv (if you don't have it already):
curl -LsSf https://astral.sh/uv/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
See the uv installation docs for more details.
Step 2 — Install divbase-cli:
uv tool install divbase-cli
divbase-cli is now available in your path and you can start using it immediately.
To upgrade later:
uv tool upgrade divbase-cli
Which version is installed?
To check which version of divbase-cli is currently installed, run:
divbase-cli --version
Alternative: pipx¶
If you already use pipx, it works just as well:
pipx install divbase-cli
To upgrade:
pipx upgrade divbase-cli
Why not create a virtual environment?
divbase-cli is a command-line tool, not a library. Installing it into a virtual environment (venv, conda, mamba etc.) is unnecessary and means you have to activate that environment every time you want to use it. Use uv tool or pipx instead. The benefits of isolation from creating a virtual environment are already provided by these tools.
If you really want to install divbase-cli into a virtual environment you can do so with pip
# make sure you are using python 3.12 or higher
pip install divbase-cli