macOS
brew install nanopblocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de nanopb pour les workflows d'agents IA.
installation
brew install nanopblocal Homebrew formula metadata
sudo apt install nanopbDebian stable package indexes · nanopb · Source: deb.debian.org
sudo dnf install nanopbFedora Rawhide package metadata · nanopb · Source: dl.fedoraproject.org
nix profile install nixpkgs#nanopbnixpkgs package indexes · pkgs/by-name/na/nanopb/package.nix · Source: api.github.com
sudo zypper install libprotobuf-nanopb0openSUSE Tumbleweed package metadata · libprotobuf-nanopb0 · Source: download.opensuse.org
aperçu
C library for encoding and decoding Protocol Buffer messages
historique
nanopb is a small-code-size Protocol Buffers implementation in ANSI C, aimed at microcontrollers and other memory-constrained systems. Its official site describes targets with tight memory budgets under 10 kB ROM and under 1 kB RAM.
The upstream license text credits Petteri Aimonen and dates the project to 2011. The GitHub repository used for development was created on 2015-04-29, and the official site points development and bug reporting to GitHub while keeping the documentation and release downloads on jpa.kapsi.fi.
The core design is deliberately embedded-first: pure C runtime, generated `.pb.c` and `.pb.h` files from `.proto` definitions, static sizing through `.options` files, no required malloc, split encoder/decoder files so projects can compile only the pieces they need, and callback streams for messages larger than available RAM.
GitHub API data fetched on 2026-07-01 showed 5,454 stars and 1,027 forks, strong adoption for a niche embedded serialization library. The repository also includes Zephyr-related integration files, examples, tests, Bazel/CMake/Meson/Swift package metadata, and generator tooling, reflecting use across several embedded build systems.
Homebrew's formula JSON generated on 2026-07-01 reported stable version 0.4.9.1, an old formula name of `nanopb-generator`, 1,082 installs over 365 days, and 740 installs-on-request over 365 days. That pattern fits a toolchain component: many installs are explicit because developers need the generator and protoc integration for firmware or cross-platform protocol work.
A typical user writes Protocol Buffer schemas in `.proto` files, runs `nanopb_generator.py` or `protoc-gen-nanopb` to produce C headers and sources, then compiles `pb_common.c`, `pb_encode.c`, and/or `pb_decode.c` into firmware. `.options` files set maximum field sizes so generated structs can stay static.
Package nerds use the Homebrew package mostly for the host-side generator, not because macOS is the target runtime. The generated C is then carried into firmware, RTOS, or embedded Linux builds where normal Google protobuf runtimes would be too large or too allocation-heavy.
nanopb is one of the standard answers when someone wants Protocol Buffers on a microcontroller without dragging in a large runtime. It keeps protobuf's schema compatibility story while making the code size, allocation behavior, and generated C output legible to embedded build systems.
posture de sécurité
library-like 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.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
<proto basename>.options next to the .proto fileexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
nanopb_generator | cli | exécutable global | |
nanopb_generator.py | cli | exécutable global | |
protoc-gen-nanopb | 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://jpa.kapsi.fi/nanopb/docs/index.html
métadonnées d'installation
| Clé du paquet | brew:nanopb |
|---|---|
| Version | 0.4.9.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/nanopb |
| Page d'accueil | https://jpa.kapsi.fi/nanopb/docs/index.html |
| Dépôt | https://github.com/nanopb/nanopb |
| Docs amont | https://github.com/nanopb/nanopb#readme |
| Licence | Zlib |
| Archive source | https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.9.1.tar.gz |
| Dépendances | protobuf, python@3.14 |
| Dépendances de compilation | cmake |
| 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 | nanopb |
| Version Scheme | 0 |
| Revision | 6 |
| 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.
libnanopb-dev 0.4.9.1-1
Protocol Buffers with small code size, development files
sudo apt install libnanopb-devnanopb 0.4.9.1-1
Protocol Buffers with small code size
sudo apt install nanopbnanopb
nix profile install nixpkgs#nanopblibnanopb-dev 0.4.8-1
Protocol Buffers with small code size, development files
sudo apt install libnanopb-devnanopb 0.4.8-1
Protocol Buffers with small code size
sudo apt install nanopbnanopb 0.4.9.1-3.fc45
A small code-size Protocol Buffers implementation in ansi C
sudo dnf install nanopbnanopb-devel 0.4.9.1-3.fc45
Development files for nanopb
sudo dnf install nanopb-develnanopb-python3 0.4.9.1-3.fc45
Small code-size Protocol Buffers implementation in Python
sudo dnf install nanopb-python3libprotobuf-nanopb0 0.4.9.1-1.6
Shared library for nanopb
sudo zypper install libprotobuf-nanopb0nanopb-devel 0.4.9.1-1.6
Development files for nanopb
sudo zypper install nanopb-develnanopb-source 0.4.9.1-1.6
Source code of nanopb
sudo zypper install nanopb-sourcepiste 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.