Pre-built binaries for linux, darwin, freebsd and windows are available for download:
$ brew install nsq
NSQ uses dep to manage dependencies and produce reliable
dep is the preferred method when compiling from source.
go get compatible but it is not recommended as it is not guaranteed to
produce reliable builds (pinned dependencies need to be satisfied manually).