# 使用 Homebrew 安装 nats-streaming-server

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

## 安装

```sh
sudo av install brew:nats-streaming-server
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nats-streaming-server
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:nats-streaming-server
- **软件包管理器:** Homebrew
- **版本:** 0.25.6
- **来源摘要:** Lightweight cloud messaging system
- **主页:** <https://nats.io>
- **仓库:** <https://github.com/nats-io/nats-streaming-server>
- **最后更新:** 2026-07-26T19:43:13+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- nats-streaming-server (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

NATS Streaming Server, also called STAN, was the reliable streaming layer that predated JetStream in the NATS ecosystem. It added persistence, durable subscriptions, acknowledgements, and replay-style messaging on top of core NATS for users who wanted lightweight streaming without running a larger broker stack.

### 项目历史

The GitHub repository was created on 2016-03-24 and the project reached its final published GitHub release, v0.25.6, on 2023-11-17. The repository README says NATS Streaming Server is deprecated, with critical bug and security fixes applied until June 2023, and directs persistence users to JetStream. GitHub marked the repository archived on 2025-12-31.

The replacement path is explicit in the NATS documentation: JetStream is built into nats-server and the docs state that JetStream completely replaces the legacy STAN streaming layer.

### 采用历史

NATS Streaming Server mattered during the period when NATS users needed persistent streams before JetStream became the standard NATS persistence engine. Its adoption footprint is now mostly legacy maintenance and migrations: Homebrew listed the formula as deprecated on 2026-07-01 and reported 193 installs over the preceding 365 days.

### 使用方式

Package users installed the standalone `nats-streaming-server` binary to run a STAN server beside NATS clients. Practical use involved provisioning channels, durable subscribers, and client libraries for applications that needed message replay or at-least-once delivery. New deployments are expected to use JetStream in `nats-server` instead.

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

This is a package-history marker for a superseded infrastructure component: keeping it packaged helps old deployments and migration tests, while the formula deprecation and upstream archive tell package maintainers not to treat it as a living NATS server family member.

### 时间线

- 2016-03-24: GitHub repository created.
- 2023-06: Upstream deprecation window for critical bug and security fixes ended.
- 2023-11-17: v0.25.6 released.
- 2025-12-31: GitHub repository archived.

### Related projects

- NATS, nats-server, JetStream, and the legacy STAN client libraries are the important adjacent projects.

### 来源

- <https://api.github.com/repos/nats-io/nats-streaming-server>
- <https://docs.nats.io/nats-concepts/jetstream>
- <https://formulae.brew.sh/formula/nats-streaming-server>
- <https://github.com/nats-io/nats-streaming-server>
- <https://github.com/nats-io/nats-streaming-server/releases/tag/v0.25.6>
- <https://nats-io.gitbook.io/legacy-nats-docs/nats-streaming-server-aka-stan>


## 安全说明

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
- infrastructure mutation or orchestration signal


## Combined YAML source

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


## 来源

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