macOS
brew install nnglocal Homebrew formula metadata
sudo port install nngMacPorts ports tree · devel/nng/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de nng pour les workflows d'agents IA.
installation
brew install nnglocal Homebrew formula metadata
sudo port install nngMacPorts ports tree · devel/nng/Portfile · Source: api.github.com
sudo apk add nngAlpine Linux edge package indexes · nng · Source: dl-cdn.alpinelinux.org
sudo dnf install nngFedora Rawhide package metadata · nng · Source: dl.fedoraproject.org
nix profile install nixpkgs#nngnixpkgs package indexes · pkgs/by-name/nn/nng/package.nix · Source: api.github.com
sudo pacman -S nngArch Linux sync databases · nng · Source: geo.mirror.pkgbuild.com
sudo apt install libnng-devDebian stable package indexes · libnng-dev · Source: deb.debian.org
sudo zypper install libnng1openSUSE Tumbleweed package metadata · libnng1 · Source: download.opensuse.org
aperçu
Nanomsg-next-generation -- light-weight brokerless messaging
historique
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.
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.
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.
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.
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
nngcat | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/nanomsg/nng
métadonnées d'installation
| Clé du paquet | brew:nng |
|---|---|
| Version | 1.12.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/nng |
| Page d'accueil | https://nng.nanomsg.org/ |
| Dépôt | https://github.com/nanomsg/nng |
| Docs amont | https://github.com/nanomsg/nng#readme |
| Licence | MIT |
| Archive source | https://github.com/nanomsg/nng/archive/refs/tags/v1.12.0.tar.gz |
| Dernière mise à jour | 2026-06-28T03:47:06Z |
| Pulse | updated |
| Dépendances de compilation | asciidoctor, cmake, ninja |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nng |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
libnng-dev 1.10.1-2
Lightweight Messaging Library - development
sudo apt install libnng-devlibnng-doc 1.10.1-2
Lightweight Messaging Library - HTML documentation
sudo apt install libnng-doclibnng1 1.10.1-2
Lightweight Messaging Library - shared library
sudo apt install libnng1nng-utils 1.10.1-2
Lightweight Messaging Library - utility
sudo apt install nng-utilsnng
nix profile install nixpkgs#nnglibnng-dev 1.7.2-1build2
Lightweight Messaging Library - development
sudo apt install libnng-devlibnng1 1.7.2-1build2
Lightweight Messaging Library - shared library
sudo apt install libnng1nng-utils 1.7.2-1build2
Lightweight Messaging Library - utility
sudo apt install nng-utilsnng 1.11-r0
Lightweight Broker-Less Messaging Library
sudo apk add nngnng-dev 1.11-r0
Lightweight Broker-Less Messaging Library (development files)
sudo apk add nng-devnng-doc 1.11-r0
Lightweight Broker-Less Messaging Library (documentation)
sudo apk add nng-docnng 1.9.0-5.fc44
Light-weight brokerless messaging
https://nanomsg.github.io/nng/
sudo dnf install nngnng-devel 1.9.0-5.fc44
Development files for the nng socket library
https://nanomsg.github.io/nng/
sudo dnf install nng-develnng-utils 1.9.0-5.fc44
Command line interface for communicating with nng
https://nanomsg.github.io/nng/
sudo dnf install nng-utilsnng 1.11-2
A lightweight, broker-less messaging library
sudo pacman -S nnglibnng1 1.11-1.2
Shared library for nng
https://nanomsg.github.io/nng/
sudo zypper install libnng1piste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.