Skip to main content
Version: dev

Barretenberg Installation

bb is the CLI tool for generating and verifying proofs for Noir programs using the Barretenberg proving library. It also allows generating solidity verifier contracts for which you can verify contracts which were constructed using bb.

Installing bb

Open a terminal on your machine, and write:

macOS (Apple Silicon)
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/cpp/installation/install | bash
source ~/.zshrc
bbup -v 0.41.0
macOS (Intel)
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/cpp/installation/install | bash
source ~/.zshrc
bbup -v 0.41.0
Linux (Bash)
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/cpp/installation/install | bash
source ~/.bashrc
bbup -v 0.41.0

Now we're ready to start working on our first Noir program!