BBup is a CLI tool that makes it easy to install the Barretenberg proving backend.
It assumes you are using Noir as the frontend language.
BBup is an installer for whatever version of BB you may want. Install BBup with:
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install | bash
Important
Always check what scripts do. The above one redirects to the install script which installs bbup in your system's PATH
To install the Barretenberg version compatible with the current installed Noir version (ex. installed with noirup), run:
bbup
Check if the installation was successful:
bb --version
If installation was successful, the command would print the version of bb
installed.
You can install any specific version of bb
with the -v
flag. Example:
bbup -v 0.56.0
You can also pass any Noir version with the -nv
flag, or specify nightly
for the nightly version. Examples:
bbup # installs the barretenberg version matching your current nargo version
bbup -nv 0.34.0 # installs the barretenberg version compatible with Noir 0.34.0 release
bbup -nv nightly # installs the barretenberg version compatible with Noir nightly release