Skip to content

Install Bub

Bub can be used as a CLI app or as a Python SDK, so pick the install path that fits your workflow.

Terminal window
curl -fsSL https://bub.build/install.sh | bash

The install script sets up uv, Python 3.12, and bub[app] for you. The app extra bundles application-layer capabilities such as the CLI, channels, and plugins; you do not need it if you only use the core SDK.

When it finishes, run bub --help to verify the install, then run bub onboard to configure your model.

To manage plugins when upgrading Bub, choose one of these approaches:

  • Include every plugin when installing: uv tool install "bub[app]" --with <plugin-package> (repeat --with for each plugin), then upgrade with uv tool upgrade bub.
  • After upgrading, run bub update to restore plugins from an existing managed project and upgrade Bub and its dependencies together. Versions remain subject to the plugins’ dependency constraints.

From 0.6.0 on, the base bub package ships the core kernel only. Add it to your project with your package manager—here is uv:

Terminal window
uv add bub
uv run python -c "from bub.core import Agent; print(Agent.__name__)"

Clone the repository and sync its dependencies:

Terminal window
git clone https://github.com/bubbuild/bub.git
cd bub
uv sync

Then run it with uv run bub.


With the installation done, continue to Quick start.