# 使用 Homebrew 安装 apache-brooklyn-cli

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

## 安装

```sh
sudo av install brew:apache-brooklyn-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apache-brooklyn-cli
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:apache-brooklyn-cli
- **软件包管理器:** Homebrew
- **版本:** 1.1.0
- **来源摘要:** Apache Brooklyn command-line interface
- **主页:** <https://brooklyn.apache.org>
- **仓库:** <https://github.com/apache/brooklyn-client>
- **最后更新:** 2026-07-26T13:19:51+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- br (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.1.0
## 项目历史与用法

Apache Brooklyn CLI is the `br` command-line client for Apache Brooklyn, an Apache cloud application management project used to model, deploy, monitor, and manage applications across clouds and other environments.

### 项目历史

Apache Brooklyn's root README describes the platform as a system that supports blueprints in YAML or Java, deploys them to many clouds and target environments, monitors deployments, maintains a live model, and runs autonomic policies to keep applications healthy.

The CLI client is a separate Apache Brooklyn sub-project, written in Go. Its README says the repository contains the CLI client for Apache Brooklyn and can be built directly with Maven or inside Docker.

Official CLI docs describe `br` as a Brooklyn command-line client application. The command set covers login, deploying YAML blueprints, listing applications, reading sensors and config, invoking effectors, catalog operations, activity logs, policies, entity trees, and version checks against a running Brooklyn server.

### 采用历史

Brooklyn's packaging history reflects a classic Apache server-plus-client split. The official docs list platform-specific CLI downloads for Windows, Linux, and OS X, and also note that the client binaries are included inside the Apache Brooklyn distribution under `bin/brooklyn-client-cli/`.

Homebrew packages only the CLI formula as `apache-brooklyn-cli`, exposing the `br` executable for users who want to operate a Brooklyn server without installing the full distribution locally.

### 使用方式

The basic workflow is `br login <URL> [username [password]]`, followed by commands such as `br deploy`, `br application`, `br catalog`, `br sensor`, `br effector`, and `br config`. The official docs note that username and password can be omitted when connecting to a localhost server with no security enabled.

The CLI is not the Brooklyn server itself. It is a remote-control tool for a running Brooklyn instance, so its package value is in scripting, automation, and inspecting cloud application state from a terminal.

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

The package is interesting because it is a narrow client extracted from a larger Java-based Apache platform. Installing a small Go CLI through Homebrew gives operators the useful terminal surface of Brooklyn without pulling in the full server runtime.

It also shows the older Apache cloud-management era in package form: YAML blueprints, jclouds-style locations, application trees, effectors, sensors, catalog items, and server-side config exposed through one `br` command.

### 时间线

- 2014: Apache Brooklyn NOTICE files identify Apache Software Foundation copyright beginning in 2014.
- 2019: Official CLI reference source in brooklyn-docs records `br` command documentation metadata.
- 2020: Brooklyn docs build metadata shows the published GitBook-era latest docs and CLI pages.

### Related projects

- Apache Brooklyn is the server and management platform controlled by the CLI.
- Brooklyn blueprints are YAML or Java application models deployed and managed through the platform.
- Apache jclouds-style cloud locations are part of the broader Brooklyn operating model.

### 来源

- <https://brooklyn.apache.org/v/latest/ops/cli/>
- <https://github.com/apache/brooklyn#readme>
- <https://github.com/apache/brooklyn-client#readme>
- <https://raw.githubusercontent.com/apache/brooklyn-docs/master/guide/ops/cli/cli-ref-guide.md>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

View the package source record on GitHub. [combined/apache-brooklyn-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/apache-brooklyn-cli.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
