Installation
Prerequisites
Section titled “Prerequisites”- Bun runtime 1.0 or higher — the CLI runs on Bun, not Node.js
- Git
Install Bun if bun --version fails:
curl -fsSL https://bun.sh/install | bashFor other platforms and install methods, see bun.sh.
Install
Section titled “Install”Any package manager works. Bun is still required to run bb.
npm install -g @pilatos/bitbucket-clipnpm add -g @pilatos/bitbucket-clibun 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”Authenticate with your Bitbucket account.
Then install shell completion so your shell can
complete bb subcommands and flags.