Install Bitbucket CLI - npm, pnpm, Bun Setup Guide
Prerequisites
Section titled “Prerequisites”- Bun runtime 1.0 or higher (required to run the CLI)
- Git
Install
Section titled “Install”You can install the CLI using any package manager, but Bun runtime is required to execute it.
Using npm
Section titled “Using npm”npm install -g @pilatos/bitbucket-cliUsing pnpm
Section titled “Using pnpm”pnpm add -g @pilatos/bitbucket-cliUsing Bun
Section titled “Using Bun”bun install -g @pilatos/bitbucket-cliBuild from Source
Section titled “Build from Source”# Clone the repositorygit clone https://github.com/0pilatos0/bitbucket-cli.gitcd bitbucket-cli
# Install dependenciesbun install
# Buildbun run build
# Link globallybun linkVerify Installation
Section titled “Verify Installation”bb --versionNext Steps
Section titled “Next Steps”After installation, you’ll need to authenticate with your Bitbucket account.