# 使用 Homebrew, chocolatey, Nix, scoop, winget 安装 apache-pulsar

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

## 安装

```sh
sudo av install brew:apache-pulsar
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apache-pulsar
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#pulsar
```

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

### Windows

- Chocolatey (92%):

```sh
choco install pulsar
```

  证据: Chocolatey community package catalog: pulsar from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.9764','dropkick'

- Scoop (92%):

```sh
scoop install extras/pulsar
```

  证据: Scoop official bucket manifest trees: bucket/pulsar.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Pulsar-Edit.Pulsar -e
```

  证据: Windows Package Manager source index: Pulsar-Edit.Pulsar from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:apache-pulsar
- **软件包管理器:** Homebrew
- **版本:** 4.2.4
- **来源摘要:** Cloud-native distributed messaging and streaming platform
- **主页:** <https://pulsar.apache.org/>
- **仓库:** <https://github.com/apache/pulsar>
- **最后更新:** 2026-08-03T15:31:11Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bookkeeper (别名)
- function-localrunner (别名)
- pulsar (别名)
- pulsar-admin (别名)
- pulsar-client (别名)
- pulsar-daemon (别名)
- pulsar-managed-ledger-admin (别名)
- pulsar-perf (别名)
- pulsar-shell (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Apache Pulsar is a distributed publish-subscribe messaging and streaming platform. It packages a full messaging stack: brokers, BookKeeper storage, clients, admin commands, performance tools, and function workers.

### 项目历史

Pulsar was originally built at Yahoo for large-scale, multi-tenant messaging. ASF's 2018 graduation announcement says Pulsar launched at Yahoo in 2015, was submitted to the Apache Incubator in June 2017, and then graduated as an Apache top-level project in September 2018.

The architecture separated serving from storage: Pulsar brokers handle topics and clients, while Apache BookKeeper stores ledgers. That split matters operationally because the package ships both Pulsar and BookKeeper command-line entry points.

As the project evolved, Pulsar broadened from a pub-sub broker into a messaging and streaming platform with functions, connectors, tiered storage, schema support, SQL integrations, and tooling around administration and benchmarking.

### 采用历史

Pulsar's adoption history is rooted in high-throughput, multi-tenant messaging use cases where operators want durable streams, geo-replication, and independent scaling of brokers and storage. The official documentation presents it as cloud-native distributed messaging and streaming.

The supplied package data shows distribution through Homebrew, Chocolatey, Nix, and Scoop, which is a useful sign of cross-platform developer demand. Homebrew exposes many executables, including `pulsar`, `pulsar-admin`, `pulsar-client`, `pulsar-perf`, and BookKeeper tools.

### 使用方式

Package users commonly install Pulsar to run local standalone clusters, administer tenants/namespaces/topics, test producers and consumers, benchmark message throughput, or develop Pulsar Functions and connectors.

The config layout is conventional for a server package: broker, client, BookKeeper, and functions worker configuration files live under `$PULSAR_HOME/conf`, which keeps command-line experiments close to production deployment concepts.

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

Pulsar is package-nerd interesting because a single formula installs a distributed system with several operational personalities: broker, admin shell, client, storage service, performance tester, and function runtime.

It also sits in the same mental drawer as Kafka, BookKeeper, ZooKeeper-era infrastructure, and cloud-native stream processors, so packagers need to care about Java runtimes, scripts, config directories, and bundled service tooling.

### 时间线

- 2015: Pulsar launches at Yahoo.
- 2017: Pulsar is submitted to the Apache Incubator in June.
- 2018: Pulsar graduates as an Apache top-level project in September.
- 2020s: The project expands its streaming, functions, connector, and cloud-native operations story.

### Related projects

- Apache BookKeeper provides the ledger storage layer used by Pulsar.
- Apache ZooKeeper has historically been used for cluster metadata coordination in Pulsar deployments.
- Apache Kafka is the common comparison point for messaging and streaming users evaluating Pulsar.

### 来源

- <https://github.com/apache/pulsar>
- <https://news.apache.org/foundation/entry/the-apache-software-foundation-announces39>
- <https://pulsar.apache.org/>
- <https://pulsar.apache.org/docs>
- source_facts.executables
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service
- generalized runtime or code generation signal
- infrastructure mutation or orchestration signal


## 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: $PULSAR_HOME/conf/broker.conf, $PULSAR_HOME/conf/client.conf, $PULSAR_HOME/conf/bookkeeper.conf, $PULSAR_HOME/conf/functions_worker.yml
## 其他软件包管理器记录

- Nix - pulsar: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/pu/pulsar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Chocolatey - pulsar: installed executable or alias match | Chocolatey community package catalog: pulsar from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.9764','dropkick'
- Scoop - extras/pulsar: installed executable or alias match | Scoop official bucket manifest trees: bucket/pulsar.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - Pulsar-Edit.Pulsar: installed executable or alias match | Windows Package Manager source index: Pulsar-Edit.Pulsar from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
