# Install nsq with Homebrew, apk, Nix

Realtime distributed messaging platform. Version 1.3.0 via Homebrew; verified 2026-06-06.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nsq
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add nsq
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:nsq
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/nsq>
- **Version:** 1.3.0
- **Source summary:** Realtime distributed messaging platform
- **Homepage:** <https://nsq.io/>
- **Repository:** <https://github.com/nsqio/nsq>
- **Upstream docs:** <https://nsq.io/>
- **License:** MIT
- **Source archive:** <https://github.com/nsqio/nsq/archive/refs/tags/v1.3.0.tar.gz>
- **Last updated:** 2026-06-06T11:29:13Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- nsq_stat (cli)
- nsq_tail (cli)
- nsq_to_file (cli)
- nsq_to_http (cli)
- nsq_to_nsq (cli)
- nsqadmin (cli)
- nsqd (cli)
- nsqlookupd (cli)
- to_nsq (cli)
- nsq_stat (alias)
- nsq_tail (alias)
- nsq_to_file (alias)
- nsq_to_http (alias)
- nsq_to_nsq (alias)
- nsqadmin (alias)
- nsqd (alias)
- nsqlookupd (alias)
- to_nsq (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.3.0
- Package-manager updated: 2026-06-06
- Local data: ok
- Upstream repository: https://github.com/nsqio/nsq
- Upstream latest detected: v1.3.0 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

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

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nsq
- **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:** head, stable

## Other Package-Manager Records

- 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/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [kaf](https://www.automicvault.com/pkg/brew/kaf/) - Shares av.db curated category or tags: cli, data, go, messaging.
- [fq](https://www.automicvault.com/pkg/brew/fq/) - Shares av.db curated category or tags: cli, data, message-queue, messaging.
- [kaskade](https://www.automicvault.com/pkg/brew/kaskade/) - Shares av.db curated category or tags: cli, data, messaging.
- [kcat](https://www.automicvault.com/pkg/brew/kcat/) - Shares av.db curated category or tags: cli, data, messaging.
- [openmama](https://www.automicvault.com/pkg/brew/openmama/) - Shares av.db curated category or tags: cli, data, messaging.
- [kafka](https://www.automicvault.com/pkg/brew/kafka/) - Shares av.db curated category or tags: cli, data, distributed-systems, messaging.
- [lcm](https://www.automicvault.com/pkg/brew/lcm/) - Shares av.db curated category or tags: cli, data, messaging.
- [burrow](https://www.automicvault.com/pkg/brew/burrow/) - Shares av.db curated category or tags: cli, data, go.

## Combined YAML source

View the package source record on GitHub. [combined/nsq.yml](https://github.com/automic-vault/db/blob/main/combined/nsq.yml)


## Sources

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