macOS
brew install nats-serverlocal Homebrew formula metadata
安装
brew install nats-serverlocal Homebrew formula metadata
sudo apk add nats-serverAlpine Linux edge package indexes · nats-server · 来源: dl-cdn.alpinelinux.org
sudo apt install nats-serverDebian stable package indexes · nats-server · 来源: deb.debian.org
nix profile install nixpkgs#nats-servernixpkgs package indexes · pkgs/by-name/na/nats-server/package.nix · 来源: api.github.com
scoop install main/nats-serverScoop official bucket manifest trees · bucket/nats-server.json · 来源: api.github.com
winget install --id NATSAuthors.NATSServer -eWindows Package Manager source index · NATSAuthors.NATSServer · 来源: cdn.winget.microsoft.com
概览
Lightweight cloud messaging system
历史
NATS Server is the Go server for NATS, a subject-based connective messaging system for distributed systems, microservices, edge, IoT, command/control, and event or stream processing.
NATS was created by Derek Collison. NATS documentation says the acronym stands for Neural Autonomic Transport System and that Collison conceived it as a central-nervous-system-like messaging platform. A 2016 NATS blog post explains that it began as a central nervous system for a cloud control plane, initially without higher QoS guarantees beyond TCP/IP.
The nats-io/nats-server repository was created on 2012-10-29. NATS Streaming was announced on 2016-07-19 to add persistence and delivery guarantees as a layered service; later NATS Server 2.2 made JetStream the recommended persistence, streaming, and higher-guarantee option, while NATS Streaming became deprecated.
CNCF announced hosting NATS on 2018-03-15 at incubating maturity. The NATS FAQ says maintainership follows a governance process as part of CNCF, with Synadia engineers and community maintainers maintaining the server, streaming server, and official client libraries.
GitHub API data fetched on 2026-07-01 showed 20,126 stars and 1,856 forks, the largest upstream community signal in this batch. Homebrew's formula JSON generated on 2026-07-01 reported 8,660 installs over 365 days and 8,658 installs-on-request over 365 days, indicating that most Homebrew installs are direct requests rather than incidental dependencies.
NATS adoption is broader than the Homebrew formula because it is commonly run via Docker, Kubernetes, release archives, and cloud/edge deployments. The official install docs list command-line installer, Docker, Kubernetes, package managers, release zips, and source builds as normal installation paths.
Developers run `nats-server` locally for development, as a service for production messaging, or in clusters. Core NATS handles publish/subscribe, request/reply, queueing, service/microservice communication, and subject-based addressing; JetStream adds persistence, replay, key/value, object-store-like patterns, and stronger delivery semantics.
Package nerds use the Homebrew package when they want a local broker-like service without container overhead: `brew install nats-server`, then run the binary and connect clients on the default client port. For production, the same binary is more often wrapped in service managers, Docker images, Helm charts, or managed deployment automation.
nats-server is significant because it is both the reference server and the operational heart of the NATS ecosystem. Unlike a client-only package, installing it gives developers a working messaging substrate for local integration tests, demos, and small deployments, while the same project scales into clustered cloud-native infrastructure.
安全态势
formula declares a Homebrew service. infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nats-server | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/nats-io/nats-server
安装元数据
| 软件包键 | brew:nats-server |
|---|---|
| 版本 | 2.14.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nats-server |
| 主页 | https://nats.io |
| 仓库 | https://github.com/nats-io/nats-server |
| 上游文档 | https://docs.nats.io/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/nats-io/nats-server/archive/refs/tags/v2.14.3.tar.gz |
| 最后更新 | 2026-06-29T16:08:38Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nats-server |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
golang-github-nats-io-nats-server-dev 2.10.27-1
High-Performance server for NATS.io (library)
https://github.com/nats-io/nats-server
sudo apt install golang-github-nats-io-nats-server-devnats-server 2.10.27-1+b2
High-Performance server for NATS.io (program)
https://github.com/nats-io/nats-server
sudo apt install nats-servernats-server
nix profile install nixpkgs#nats-servergolang-github-nats-io-nats-server-dev 2.10.7-1
High-Performance server for NATS.io (library)
https://github.com/nats-io/nats-server
sudo apt install golang-github-nats-io-nats-server-devnats-server 2.10.7-1
High-Performance server for NATS.io (program)
https://github.com/nats-io/nats-server
sudo apt install nats-servernats-server 2.14.0-r1
High-Performance server for NATS.io
https://github.com/nats-io/nats-server
sudo apk add nats-servermain/nats-server
scoop install main/nats-serverNATSAuthors.NATSServer
winget install --id NATSAuthors.NATSServer -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.