Installation
The binary is named bitbucket. After installing, verify it with:
bitbucket --versionUsing Cargo (recommended)
Section titled “Using Cargo (recommended)”If you have the Rust toolchain installed:
cargo install bitbucket-cliDebian / Ubuntu
Section titled “Debian / Ubuntu”wget https://github.com/quinnjr/bitbucket-cli/releases/latest/download/bitbucket-cli_amd64.debsudo dpkg -i bitbucket-cli_amd64.debRed Hat / Fedora / CentOS
Section titled “Red Hat / Fedora / CentOS”wget https://github.com/quinnjr/bitbucket-cli/releases/latest/download/bitbucket-cli.x86_64.rpmsudo rpm -i bitbucket-cli.x86_64.rpm# or with dnfsudo dnf install bitbucket-cli.x86_64.rpmArch Linux
Section titled “Arch Linux”The recommended path builds a real package from the released PKGBUILD:
wget https://github.com/quinnjr/bitbucket-cli/releases/latest/download/PKGBUILDmakepkg -siOr download the plain binary tarball and install it manually:
wget https://github.com/quinnjr/bitbucket-cli/releases/latest/download/bitbucket-cli-vX.X.X-x86_64-linux.tar.zsttar --zstd -xf bitbucket-cli-vX.X.X-x86_64-linux.tar.zstsudo mv bitbucket /usr/local/bin/Alpine Linux
Section titled “Alpine Linux”wget https://github.com/quinnjr/bitbucket-cli/releases/latest/download/bitbucket-cli-vX.X.X-alpine-x86_64.tar.gztar -xzf bitbucket-cli-vX.X.X-alpine-x86_64.tar.gzsudo mv bitbucket /usr/local/bin/Windows
Section titled “Windows”Download the MSI installer from the Releases page and run it.
From source
Section titled “From source”git clone https://github.com/quinnjr/bitbucket-cli.gitcd bitbucket-clicargo install --path .Prebuilt binaries
Section titled “Prebuilt binaries”Prebuilt binaries for Linux (x86_64 / arm64), macOS (Intel / Apple Silicon), and Windows are attached to every GitHub release.