macOS
brew install nanomsglocal Homebrew formula metadata
brew
nanomsg のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install nanomsglocal Homebrew formula metadata
sudo apk add nanomsgAlpine Linux edge package indexes · nanomsg · ソース: dl-cdn.alpinelinux.org
sudo dnf install nanomsgFedora Rawhide package metadata · nanomsg · ソース: dl.fedoraproject.org
nix profile install nixpkgs#nanomsgnixpkgs package indexes · pkgs/by-name/na/nanomsg/package.nix · ソース: api.github.com
sudo pacman -S nanomsgArch Linux sync databases · nanomsg · ソース: geo.mirror.pkgbuild.com
sudo apt install libnanomsg-devDebian stable package indexes · libnanomsg-dev · ソース: deb.debian.org
sudo zypper install libnanomsg6openSUSE Tumbleweed package metadata · libnanomsg6 · ソース: download.opensuse.org
概要
Socket library in C
履歴
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.
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.
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.
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.
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.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
nanocat | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/nanomsg/nanomsg
インストールメタデータ
| パッケージキー | brew:nanomsg |
|---|---|
| バージョン | 1.2.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/nanomsg |
| ホームページ | https://nanomsg.org/ |
| リポジトリ | https://github.com/nanomsg/nanomsg |
| 上流ドキュメント | https://github.com/nanomsg/nanomsg#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/nanomsg/nanomsg/archive/refs/tags/1.2.2.tar.gz |
| ビルド依存関係 | cmake |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nanomsg |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libnanomsg-dev 1.1.5+dfsg-1.1+b1
nanomsg development files
sudo apt install libnanomsg-devlibnanomsg5 1.1.5+dfsg-1.1+b1
high-performance implementation of scalability libraries
sudo apt install libnanomsg5nanomsg-utils 1.1.5+dfsg-1.1+b1
nanomsg utilities
sudo apt install nanomsg-utilsnanomsg
nix profile install nixpkgs#nanomsglibnanomsg-dev 1.1.5+dfsg-1.1
nanomsg development files
sudo apt install libnanomsg-devlibnanomsg5 1.1.5+dfsg-1.1
high-performance implementation of scalability libraries
sudo apt install libnanomsg5nanomsg-utils 1.1.5+dfsg-1.1
nanomsg utilities
sudo apt install nanomsg-utilsnanomsg 1.2.2-r0
Socket library that provides several common communication patterns
sudo apk add nanomsgnanomsg-dev 1.2.2-r0
Socket library that provides several common communication patterns (development files)
sudo apk add nanomsg-devnanomsg-doc 1.2.2-r0
Socket library that provides several common communication patterns (documentation)
sudo apk add nanomsg-docnanomsg 1.2.2-2.fc44
Socket library that provides several common communication patterns
sudo dnf install nanomsgnanomsg-devel 1.2.2-2.fc44
Development files for nanomsg
sudo dnf install nanomsg-develnanomsg-doc 1.2.2-2.fc44
Documentation for nanomsg
sudo dnf install nanomsg-docnanomsg 1.2.2-1
Simple high-performance implementation of several "scalability protocols"
sudo pacman -S nanomsglibnanomsg6 1.2.2-1.3
Shared library for nanomsg
sudo zypper install libnanomsg6nanomsg-devel 1.2.2-1.3
Header files for nanomsg
sudo zypper install nanomsg-develソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.