Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix 安装 nsq

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nsq

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add nsq

Alpine Linux edge package indexes · nsq · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#nsq

nixpkgs package indexes · pkgs/by-name/ns/nsq/package.nix · 来源: api.github.com

概览

软件包摘要

Realtime distributed messaging platform

命令和别名

  • nsq_stat
  • nsq_tail
  • nsq_to_file
  • nsq_to_http
  • nsq_to_nsq
  • nsqadmin
  • nsqd
  • nsqlookupd
  • to_nsq

历史

项目历史与用法

NSQ is a Go-based realtime distributed messaging platform from Bitly's engineering ecosystem. It was built for decentralized message processing, using `nsqd` producers/queues, `nsqlookupd` discovery, and `nsqadmin` operations tooling instead of a single centralized broker.

项目历史

Bitly announced NSQ publicly in October 2012 as a realtime message processing system designed for Bitly's scale and billions of messages per day. The NSQ community page credits Matt Reiferson and Jehiah Czebotar as the designers and developers, with support from Bitly, maintainers, and contributors.

采用历史

The December 2012 Bitly follow-up said NSQ had been released on October 9, 2012, had client libraries in seven languages, and had quickly become one of the most-watched Go projects on GitHub. NSQ's later homepage kept the same positioning: distributed topologies without single points of failure, horizontal scaling without centralized brokers, and both pub-sub and load-balanced delivery.

On July 1, 2026, Homebrew listed NSQ 1.3.0 with 273 installs in its 365-day analytics window. That is modest Homebrew usage, but the package remains useful for developers who need local NSQ daemons and CLI tools while testing older or deliberately simple queueing architectures.

使用方式

Package users install NSQ to get the daemons and operational tools: `nsqd` receives, queues, and delivers messages; `nsqlookupd` lets consumers discover producers; `nsqadmin` provides a web UI; helper commands such as `nsq_tail`, `nsq_to_file`, `nsq_to_http`, and `to_nsq` make it easy to inspect or bridge streams.

The important operational tradeoff is explicit in the docs: NSQ is primarily in-memory, can spill past a memory queue threshold, provides at-least-once delivery, does not guarantee ordering, and expects clients to be idempotent or de-duplicate work.

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

NSQ is a classic small distributed-systems package: easy to run, easy to reason about, and intentionally less feature-heavy than Kafka-class systems. It is most attractive when a team wants simple producer-local queueing, HTTP/TCP protocols, and discovery without operating a broker cluster.

时间线

  • October 9, 2012: NSQ was released publicly by Bitly.
  • December 2012: Bitly reported client libraries in seven languages and early strong GitHub attention.
  • July 1, 2026: Homebrew listed NSQ 1.3.0.

Related projects

  • go-nsq is the official Go client package for NSQ.

安全态势

风险级别:orange

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

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

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

信号

  • metadata:service
  • text:http,sql

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nsq_statcli全局可执行文件
nsq_tailcli全局可执行文件
nsq_to_filecli全局可执行文件
nsq_to_httpcli全局可执行文件
nsq_to_nsqcli全局可执行文件
nsqadmincli全局可执行文件
nsqdcli全局可执行文件
nsqlookupdcli全局可执行文件
to_nsqcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.3.0
管理器更新时间2026-06-06
本地数据OK
上游当前
检测到的最新版本v1.3.0

https://github.com/nsqio/nsq

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:nsq
版本1.3.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nsq
主页https://nsq.io/
仓库https://github.com/nsqio/nsq
上游文档https://nsq.io/
许可证MIT
源码归档https://github.com/nsqio/nsq/archive/refs/tags/v1.3.0.tar.gz
最后更新2026-06-06T11:29:13Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namensq
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

nsq

nix profile install nixpkgs#nsq
  • normalized package name match
  • 匹配方式:Nsq
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ns/nsq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

nsq 1.3.0-r10

A realtime distributed messaging platform

https://nsq.io/

sudo apk add nsq
  • License: MIT
  • Architecture: x86_64
  • Source Package: nsq
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nsq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nsq from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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