# Install protoc-gen-doc with Homebrew, apk, Nix

Documentation generator plugin for Google Protocol Buffers. Version 1.5.1 via Homebrew; verified 2026-07-29. Also installable with nix: nix profile install nixpkgs#protoc-gen-doc.

## Install

```sh
sudo av install brew:protoc-gen-doc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install protoc-gen-doc
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add protoc-gen-doc
```

  Evidence: Alpine Linux edge package indexes: protoc-gen-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#protoc-gen-doc
```

  Evidence: nixpkgs package indexes: pkgs/by-name/pr/protoc-gen-doc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:protoc-gen-doc
- **Package manager:** Homebrew
- **Version:** 1.5.1
- **Source summary:** Documentation generator plugin for Google Protocol Buffers
- **Homepage:** <https://github.com/pseudomuto/protoc-gen-doc>
- **Repository:** <https://github.com/pseudomuto/protoc-gen-doc>
- **Last updated:** 2026-07-29T22:58:18+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- protoc-gen-doc (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.5.1

## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Nix - protoc-gen-doc: normalized package name match | nixpkgs package indexes: pkgs/by-name/pr/protoc-gen-doc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - protoc-gen-doc - 1.5.1-r6: normalized package name match | Alpine Linux edge package indexes: protoc-gen-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | protoc plugin to generate documentation from comments in .proto files | https://github.com/pseudomuto/protoc-gen-doc
- apk - protoc-gen-doc-doc - 1.5.1-r6: normalized package name match | Alpine Linux edge package indexes: protoc-gen-doc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | protoc plugin to generate documentation from comments in .proto files (documentation) | https://github.com/pseudomuto/protoc-gen-doc


## Combined YAML source

View the package source record on GitHub. [combined/protoc-gen-doc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/protoc-gen-doc.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
