# nsq を Homebrew, apk, Nix でインストール

nsq のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:nsq
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install nsq
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add nsq
```

  証拠: Alpine Linux edge package indexes: nsq from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#nsq
```

  証拠: nixpkgs package indexes: pkgs/by-name/ns/nsq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:nsq
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.3.0
- **ソース概要:** Realtime distributed messaging platform
- **ホームページ:** <https://nsq.io/>
- **リポジトリ:** <https://github.com/nsqio/nsq>
- **最終更新:** 2026-06-06T11:29:13Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- nsq_stat (エイリアス)
- nsq_tail (エイリアス)
- nsq_to_file (エイリアス)
- nsq_to_http (エイリアス)
- nsq_to_nsq (エイリアス)
- nsqadmin (エイリアス)
- nsqd (エイリアス)
- nsqlookupd (エイリアス)
- to_nsq (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.3.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://formulae.brew.sh/formula/nsq>
- <https://github.com/nsqio/nsq>
- <https://nsq.io/>
- <https://nsq.io/community.html>
- <https://nsq.io/overview/features_and_guarantees.html>
- <https://word.bitly.com/post/33232969144/nsq>
- <https://word.bitly.com/post/38385370762/spray-some-nsq-on-it>


## セキュリティノート

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

## 他のパッケージマネージャ記録

- Nix - nsq: normalized package name match | nixpkgs package indexes: pkgs/by-name/ns/nsq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - nsq - 1.3.0-r10: normalized package name match | Alpine Linux edge package indexes: nsq from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A realtime distributed messaging platform | https://nsq.io/


## Combined YAML source

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


## ソース

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