Skip to content

Install Bitbucket CLI - npm, pnpm, Bun Setup Guide

  • Bun runtime 1.0 or higher (required to run the CLI)
  • Git

You can install the CLI using any package manager, but Bun runtime is required to execute it.

Terminal window
npm install -g @pilatos/bitbucket-cli
Terminal window
pnpm add -g @pilatos/bitbucket-cli
Terminal window
bun 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

After installation, you’ll need to authenticate with your Bitbucket account.