Skip to content

Installation

  • Bun runtime 1.0 or higher — the CLI runs on Bun, not Node.js
  • Git

Install Bun if bun --version fails:

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

For other platforms and install methods, see bun.sh.

Any package manager works. Bun is still required to run bb.

Terminal window
npm install -g @pilatos/bitbucket-cli
Terminal window
# Clone the repository
git clone https://github.com/0pilatos0/bitbucket-cli.git
cd bitbucket-cli
# Install dependencies
bun install
# Build
bun run build
# Link globally
bun link
Terminal window
bb --version

Authenticate with your Bitbucket account.

Then install shell completion so your shell can complete bb subcommands and flags.