Automic VaultAutomic Vault

brew

Install nanomsg with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Socket library in C. Version 1.2.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nanomsg

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add nanomsg

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

Debian aptverified · 92%
sudo apt install libnanomsg-dev

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

Fedora dnfverified · 92%
sudo dnf install nanomsg

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

Nixverified · 92%
nix profile install nixpkgs#nanomsg

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

Arch Linux pacmanverified · 92%
sudo pacman -S nanomsg

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

openSUSE zypperverified · 92%
sudo zypper install libnanomsg6

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

overview

Package summary

Socket library in C

Commands and aliases

  • nanocat

history

Project history and usage

nanomsg is a C socket library for brokerless messaging patterns, described upstream as a way to make networking fast, scalable, and easy to use through common communication patterns such as pair, bus, request/reply, publish/subscribe, pipeline, and survey.

Project history

The project grew out of Martin Sustrik's post-ZeroMQ design work. nanomsg's own documentation preserves the historical motivation as a comparison with ZeroMQ by the original author of both projects: MIT licensing, a POSIX-like C API, implementation in C rather than C++, formal protocol/transport APIs, and different threading behavior were central design goals.

The GitHub repository was created on 2012-10-10. Later, Garrett D'Amore's NNG became the successor path: the nanomsg homepage says nanomsg has largely been superseded by NNG, and the documentation calls the C reference implementation sustaining-mode while describing NNG as the modern reimplementation.

Adoption history

nanomsg accumulated a broad binding ecosystem despite later being superseded: the upstream documentation lists bindings or implementations for C, C++, Clojure, D, Erlang, Fortran, Go, Haskell, Java, JavaScript, Lua, .NET, OCaml, Perl, PHP, Python, R, Ruby, Rust, Scheme, Smalltalk, and more.

GitHub API data fetched on 2026-07-01 showed 6,285 stars and 1,034 forks, reflecting historical mindshare. Homebrew's formula JSON generated on 2026-07-01 reported only 382 installs over 365 days and 181 installs-on-request over 365 days, which is consistent with a legacy library that remains packaged but is no longer the main recommendation.

How it is used

Users link against the C library and use its BSD-socket-like API to build message-oriented communication without a broker. Typical choices are REQREP for service clusters, PUBSUB for fanout, PIPELINE for fan-in/fan-out work distribution, BUS for many-to-many messaging, and IPC/TCP/WebSocket transports depending on deployment.

Package nerds often keep `nanomsg` around for older applications or language bindings that still target libnanomsg. New work should usually evaluate `nng` first because NNG keeps wire compatibility while adding the maintained API and implementation path.

Why package nerds care

nanomsg matters historically as a clean-room C rethinking of ZeroMQ-style scalability protocols and as the ancestor of NNG. Its Homebrew package is less about trend adoption and more about preserving buildability for software that already chose the nanomsg API or wire protocols.

Timeline

  • 2012-10-10: nanomsg/nanomsg repository created on GitHub.
  • 2018-04-12: nanomsg homepage update already pointed users toward NNG when possible.
  • 2025-10-05: nanomsg 1.2.2 bug-fix release published.
  • 2026-07-01: Homebrew formula JSON listed stable version 1.2.2 and 382 installs over 365 days.

Related projects

  • ZeroMQ
  • NNG
  • mangos

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 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
nanocatcliglobal 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.2.2
manager updated
local dataok
upstreamcurrent
latest detected1.2.2

https://github.com/nanomsg/nanomsg

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:nanomsg
Version1.2.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nanomsg
Homepagehttps://nanomsg.org/
Repositoryhttps://github.com/nanomsg/nanomsg
Upstream docshttps://github.com/nanomsg/nanomsg#readme
LicenseMIT
Source archivehttps://github.com/nanomsg/nanomsg/archive/refs/tags/1.2.2.tar.gz
Build dependenciescmake
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 Namenanomsg
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • 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%

libnanomsg-dev 1.1.5+dfsg-1.1+b1

nanomsg development files

http://nanomsg.org/

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

libnanomsg5 1.1.5+dfsg-1.1+b1

high-performance implementation of scalability libraries

http://nanomsg.org/

sudo apt install libnanomsg5
  • Section: libs
  • Architecture: amd64
  • Source Package: nanomsg
  • 1 dependencies
  • normalized package name match
  • Matched by: Nanomsg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnanomsg5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nanomsg-utils 1.1.5+dfsg-1.1+b1

nanomsg utilities

http://nanomsg.org/

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

nanomsg

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

libnanomsg-dev 1.1.5+dfsg-1.1

nanomsg development files

http://nanomsg.org/

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

libnanomsg5 1.1.5+dfsg-1.1

high-performance implementation of scalability libraries

http://nanomsg.org/

sudo apt install libnanomsg5
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: nanomsg
  • 1 dependencies
  • normalized package name match
  • Matched by: Nanomsg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnanomsg5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nanomsg-utils 1.1.5+dfsg-1.1

nanomsg utilities

http://nanomsg.org/

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

nanomsg 1.2.2-r0

Socket library that provides several common communication patterns

https://nanomsg.org

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

nanomsg-dev 1.2.2-r0

Socket library that provides several common communication patterns (development files)

https://nanomsg.org

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

nanomsg-doc 1.2.2-r0

Socket library that provides several common communication patterns (documentation)

https://nanomsg.org

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

nanomsg 1.2.2-2.fc44

Socket library that provides several common communication patterns

https://nanomsg.org/

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

nanomsg-devel 1.2.2-2.fc44

Development files for nanomsg

https://nanomsg.org/

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

nanomsg-doc 1.2.2-2.fc44

Documentation for nanomsg

https://nanomsg.org/

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

nanomsg 1.2.2-1

Simple high-performance implementation of several "scalability protocols"

https://nanomsg.org/

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

libnanomsg6 1.2.2-1.3

Shared library for nanomsg

https://nanomsg.org/

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

nanomsg-devel 1.2.2-1.3

Header files for nanomsg

https://nanomsg.org/

sudo zypper install nanomsg-devel
  • License: MIT
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: nanomsg
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Nanomsg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nanomsg-devel 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