# 使用 Homebrew, apt, Nix, winget, zypper 安装 bb-cli

查看 bb-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:bb-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bb-cli
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bb
```

  证据: Debian stable package indexes: bb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#bb
```

  证据: nixpkgs package indexes: pkgs/by-name/bb/bb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install bb
```

  证据: openSUSE Tumbleweed package metadata: bb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id vriesdemichael.bb -e
```

  证据: Windows Package Manager source index: vriesdemichael.bb from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:bb-cli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bb-cli>
- **版本:** 1.4.1
- **来源摘要:** Bitbucket Rest API CLI written in pure PHP
- **主页:** <https://bb-cli.github.io>
- **仓库:** <https://github.com/bb-cli/bb-cli>
- **上游文档:** <https://bb-cli.github.io/>
- **许可证:** MIT
- **源码归档:** <https://github.com/bb-cli/bb-cli/releases/download/1.4.1/bb>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- bb (cli)
- bb (别名)

## 依赖

- php

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.4.1
- 本地数据: OK
- 上游仓库: https://github.com/bb-cli/bb-cli
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

bb-cli is a PHP command-line client for Bitbucket's REST API, packaged as the `bb` executable for developers who want pull requests, pipelines, branches, and other Bitbucket workflows in a terminal.

### 项目历史

The project README presents it as "Bitbucket Rest API CLI" and documents installation as a standalone binary from GitHub releases or via a container image. Its own development note dates the tool to 2021 and says it was developed with help from GitHub Copilot.

The CLI is intentionally narrow: it wraps Bitbucket operations rather than trying to be a general Atlassian or Git hosting client. That makes it a small but recognizable example of service-specific CLIs that grew around cloud Git hosting.

### 采用历史

Homebrew packages the tool as `bb-cli`; the supplied package-manager facts also show names in Debian, Ubuntu, Nix, zypper, and winget ecosystems, indicating cross-platform packaging beyond the upstream release binaries.

### 使用方式

Typical use is interactive developer workflow from a shell: run `bb help`, authenticate with `bb auth`, then inspect or operate on Bitbucket pull requests, pipelines, and branches. The documented Docker setup bind-mounts the same config file into the container.

### 为什么软件包爱好者会关心

For package-index history, bb-cli is a useful example of a modern SaaS API wrapper distributed through both language/runtime channels and native package managers. It is not a foundational Unix tool, but it represents the package-manager demand for one-command access to hosted development platforms.

### 时间线

- 2021: README development note says the tool was developed with help from GitHub Copilot.
- Current: README documents standalone GitHub release binaries and a GHCR container image.

### Related projects

- Related tools include Atlassian/Bitbucket web APIs, general Git hosting CLIs such as GitHub CLI, and other service-specific terminal clients.

### 来源

- <https://bb-cli.github.io/>
- <https://github.com/bb-cli/bb-cli#readme>
- input:source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.bitbucket-rest-cli-config.json

## Credential files

- Unix: ~/.bitbucket-rest-cli-config.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bb-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - bb - 1.3rc1-13+b1: installed executable or alias match | Debian stable package indexes: bb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ASCII-art demo based on AAlib | https://aa-project.sourceforge.net/bb/
- Nix - bb: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/bb/bb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bb - 1.3rc1-13: installed executable or alias match | Ubuntu 24.04 LTS package indexes: bb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ASCII-art demo based on AAlib | https://aa-project.sourceforge.net/bb/
- zypper - bb - 1.3~rc1-2.5: installed executable or alias match | openSUSE Tumbleweed package metadata: bb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Audio-Visual Demonstration for Text Terminal | https://aa-project.sourceforge.net/bb/
- winget - vriesdemichael.bb: installed executable or alias match | Windows Package Manager source index: vriesdemichael.bb from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [php](https://www.automicvault.com/zh-hans/pkg/brew/php/) - Runtime dependency declared by Homebrew.
- [algolia](https://www.automicvault.com/zh-hans/pkg/brew/algolia/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [apfel](https://www.automicvault.com/zh-hans/pkg/brew/apfel/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [api-linter](https://www.automicvault.com/zh-hans/pkg/brew/api-linter/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [apibuilder-cli](https://www.automicvault.com/zh-hans/pkg/brew/apibuilder-cli/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [apigeecli](https://www.automicvault.com/zh-hans/pkg/brew/apigeecli/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [asyncapi](https://www.automicvault.com/zh-hans/pkg/brew/asyncapi/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [atac](https://www.automicvault.com/zh-hans/pkg/brew/atac/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [autocode](https://www.automicvault.com/zh-hans/pkg/brew/autocode/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [deployer](https://www.automicvault.com/zh-hans/pkg/brew/deployer/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, php, written.
- [composer](https://www.automicvault.com/zh-hans/pkg/brew/composer/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, php.
- [css-crush](https://www.automicvault.com/zh-hans/pkg/brew/css-crush/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, php.

## Combined YAML source

View the package source record on GitHub. [combined/bb-cli.yml](https://github.com/automic-vault/db/blob/main/combined/bb-cli.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
