Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Install

Homebrew (macOS and Linux)

brew install pallewela/tap/bb
brew update && brew upgrade pallewela/tap/bb   # upgrade later

The tap covers macOS and Linux on both arm64 and x86_64. Always use the full name pallewela/tap/bb: plain bb also matches an unrelated cask.

Cargo

cargo install bitbucket-bb-cli     # from crates.io; installs the `bb` binary
cargo install --path .             # from a clone of the repository

On crates.io the crate is bitbucket-bb-cli (bb, bb-cli and bitbucket-cli are other projects). Building it needs Rust and a C compiler.

Prebuilt binaries

Every release on the releases page has an archive per platform, named bb-vX.Y.Z-TARGET.tar.gz (.zip on Windows), each with a .sha256 file:

TargetPlatform
aarch64-apple-darwinmacOS, Apple silicon
x86_64-apple-darwinmacOS, Intel
x86_64-unknown-linux-muslLinux x86_64, any distro (static)
aarch64-unknown-linux-muslLinux arm64, any distro (static)
x86_64-pc-windows-msvcWindows x86_64 (.zip with bb.exe)

Linux binaries are statically linked (musl), so one file works on every distro, including Alpine and scratch containers.

On Windows, unzip bb.exe into a folder on your PATH. The binary is unsigned, so SmartScreen may warn the first time it runs. There is no Scoop or winget package yet.

Check the install:

bb --version

Next: authenticate.