Automic VaultAutomic Vault

brew

Install nng with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Nanomsg-next-generation -- light-weight brokerless messaging. Version 1.12.0 via Homebrew; verified 2026-06-28.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nng

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install nng

MacPorts ports tree · devel/nng/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add nng

Alpine Linux edge package indexes · nng · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libnng-dev

Debian stable package indexes · libnng-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install nng

Fedora Rawhide package metadata · nng · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#nng

nixpkgs package indexes · pkgs/by-name/nn/nng/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S nng

Arch Linux sync databases · nng · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libnng1

openSUSE Tumbleweed package metadata · libnng1 · source: download.opensuse.org

overview

Package summary

Nanomsg-next-generation -- light-weight brokerless messaging

Commands and aliases

  • nngcat

history

Project history and usage

NNG, short for nanomsg-next-generation, is a C messaging library that reworks nanomsg's brokerless Scalability Protocols model with stronger production, async, transport, and security foundations.

Project history

The upstream README explicitly describes NNG as a rewrite of the Scalability Protocols library known as nanomsg, keeping compatibility with the original while adding significant capabilities. Its self-description places it in the same family as nanomsg and, to a lesser extent, ZeroMQ: lightweight brokerless messaging for recurring patterns such as publish/subscribe, request/reply, and service discovery.

The rewrite emphasized reliability, scalability, maintainability, extensibility, security, and usability. Notable package-level changes include a C11/CMake build, a custom asynchronous I/O framework, TLS-capable transports, and APIs intended to be more intuitive for concurrent programs.

Adoption history

NNG's adoption is developer-library adoption: it is packaged as libnng-dev or nng across Homebrew, Debian/Ubuntu, Fedora, Alpine, Arch, Nix, MacPorts, and openSUSE, and it exposes nngcat as a CLI utility. The repository also documents commercial support and sponsorship, which is meaningful for a low-level C messaging library used in production systems.

Compatibility was a core adoption strategy. The project documented migration from legacy libnanomsg and offered wire/API compatibility for many nanomsg and mangos applications, letting existing Scalability Protocols users move incrementally instead of rewriting their messaging layer at once.

How it is used

Developers use NNG when they want simple message-pattern APIs without standing up a broker. Common package-nerd experiments use nngcat to test pub/sub or req/rep endpoints, then embed libnng in C or bind through another language for IPC, TCP, WebSocket, TLS, or in-process transport.

The practical distinction from heavier messaging stacks is that NNG tries to own the boring plumbing: reconnects, connection management, async dispatch, and protocol state. That makes it attractive for embedded systems, appliances, developer tools, and service components where a full broker is excessive.

Why package nerds care

NNG matters because it is the active successor path for nanomsg-style messaging. It preserves the idea that common distributed communication patterns can be expressed as small socket-like protocols while modernizing the implementation enough for safer concurrent production use.

Timeline

  • {'event': "NNG emerged as a next-generation rewrite of nanomsg's Scalability Protocols library.", 'year': '2010s'}
  • {'date': '2026-06-28', 'event': 'The GitHub repository page listed Version 1.12 Bug Fix Release as the latest release.'}

Related projects

  • nanomsg
  • ZeroMQ
  • mangos
  • nngcat

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
nngcatcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.12.0
manager updated2026-06-28
local dataok
upstreamcurrent
latest detectedv1.12.0

https://github.com/nanomsg/nng

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:nng
Version1.12.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nng
Homepagehttps://nng.nanomsg.org/
Repositoryhttps://github.com/nanomsg/nng
Upstream docshttps://github.com/nanomsg/nng#readme
LicenseMIT
Source archivehttps://github.com/nanomsg/nng/archive/refs/tags/v1.12.0.tar.gz
Last updated2026-06-28T03:47:06Z
Pulseupdated
Build dependenciesasciidoctor, cmake, ninja
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libnng-dev 1.10.1-2

Lightweight Messaging Library - development

https://nng.nanomsg.org/

sudo apt install libnng-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nng
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Nng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnng-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnng-doc 1.10.1-2

Lightweight Messaging Library - HTML documentation

https://nng.nanomsg.org/

sudo apt install libnng-doc
  • Section: doc
  • Architecture: all
  • Source Package: nng
  • normalized package name match
  • Matched by: Nng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnng-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnng1 1.10.1-2

Lightweight Messaging Library - shared library

https://nng.nanomsg.org/

sudo apt install libnng1
  • Section: devel
  • Architecture: amd64
  • Source Package: nng
  • 4 dependencies
  • normalized package name match
  • Matched by: Nng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnng1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nng-utils 1.10.1-2

Lightweight Messaging Library - utility

https://nng.nanomsg.org/

sudo apt install nng-utils
  • Section: devel
  • Architecture: amd64
  • Source Package: nng
  • 2 dependencies
  • normalized package name match
  • Matched by: Nng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nng-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nng

nix profile install nixpkgs#nng
  • normalized package name match
  • Matched by: Nng
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nn/nng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libnng-dev 1.7.2-1build2

Lightweight Messaging Library - development

https://nng.nanomsg.org/

sudo apt install libnng-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: nng
  • 2 dependencies
  • normalized package name match
  • Matched by: Nng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnng-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnng1 1.7.2-1build2

Lightweight Messaging Library - shared library

https://nng.nanomsg.org/

sudo apt install libnng1
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: nng
  • 4 dependencies
  • normalized package name match
  • Matched by: Nng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnng1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nng-utils 1.7.2-1build2

Lightweight Messaging Library - utility

https://nng.nanomsg.org/

sudo apt install nng-utils
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: nng
  • 2 dependencies
  • normalized package name match
  • Matched by: Nng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nng-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nng 1.11-r0

Lightweight Broker-Less Messaging Library

https://nng.nanomsg.org/

sudo apk add nng
  • License: MIT
  • Architecture: x86_64
  • Source Package: nng
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nng from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

nng-dev 1.11-r0

Lightweight Broker-Less Messaging Library (development files)

https://nng.nanomsg.org/

sudo apk add nng-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: nng
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nng-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

nng-doc 1.11-r0

Lightweight Broker-Less Messaging Library (documentation)

https://nng.nanomsg.org/

sudo apk add nng-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: nng
  • normalized package name match
  • Matched by: Nng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nng-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

nng 1.9.0-5.fc44

Light-weight brokerless messaging

https://nanomsg.github.io/nng/

sudo dnf install nng
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: nng
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Nng
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nng-devel 1.9.0-5.fc44

Development files for the nng socket library

https://nanomsg.github.io/nng/

sudo dnf install nng-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: nng
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Nng
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nng-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nng-utils 1.9.0-5.fc44

Command line interface for communicating with nng

https://nanomsg.github.io/nng/

sudo dnf install nng-utils
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nng
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nng
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nng-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

nng 1.11-2

A lightweight, broker-less messaging library

https://nng.nanomsg.org/

sudo pacman -S nng
  • License: MIT
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Nng
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: nng from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libnng1 1.11-1.2

Shared library for nng

https://nanomsg.github.io/nng/

sudo zypper install libnng1
  • License: MIT
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: nng
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Nng
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libnng1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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