Installing

Binary Releases

Pre-built binaries for linux, darwin, freebsd and windows are available for download:

Current Stable Release: v1.0.0-compat

Older Stable Releases

Docker

See the docs for deploying NSQ with Docker.

OSX

 $ brew install nsq

Building From Source

Pre-requisites

  • golang (version 1.6+ is required)
  • gpm (dependency manager)

Compiling

NSQ uses gpm to manage dependencies and produce reliable builds. Using gpm is the preferred method when compiling from source.

$ gpm install
$ go get github.com/nsqio/nsq/...

NSQ remains go get compatible but it is not recommended as it is not guaranteed to produce reliable builds (pinned dependencies need to be satisfied manually).

Testing

$ ./test.sh