# Install protoc with npm

Installs the protocol buffer compiler "protoc" for you. Version 35.1.0 via npm; verified 2026-06-22. Also installable with apk: sudo apk add protoc.

## Install

```sh
sudo av install npm:protoc
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g protoc
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:protoc
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/protoc>
- **Version:** 35.1.0
- **Source summary:** Installs the protocol buffer compiler "protoc" for you.
- **Homepage:** <https://github.com/timostamm/protobuf-npm>
- **Repository:** <https://github.com/timostamm/protobuf-npm>
- **Upstream docs:** <https://github.com/timostamm/protobuf-npm>
- **License:** Apache-2.0
- **Source archive:** <https://registry.npmjs.org/protoc/-/protoc-35.1.0.tgz>
- **Issue tracker:** <https://github.com/timostamm/protobuf-npm/issues>
- **Published:** 2026-06-22T14:39:20.625Z
- **Last updated:** 2026-06-22T14:39:20.625Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- protoc (cli)

## Build dependencies

- fflate
- tsx

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 35.1.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/timostamm/protobuf-npm
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for protoc. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 35.1.0, Next: 36.0.0-rc1
- **Version Count:** 127
- **Maintainers:** jinpha, timostamm
- **Author:** Timo Stamm
- **Publisher:** GitHub Actions
- **Engines:** Node: >=20.0.0
- **Integrity:** sha512-hsSSwR/yPA32WTB91+XA03XtspO0uBgBZFIGhTUl+9jkNgW3nomCzXeyGogTrGsWjelwkM+EYkDY5vveK2jCdw==
- **Shasum:** efc35e1e2fea03a5154e5cbad262b1de7d0382c1
- **Unpacked Size:** 53,432,487
- **File Count:** 0
- **Created At:** 2017-02-09T23:26:01.061Z
- **Latest Published At:** 2026-06-22T14:39:20.625Z
- **Modified At:** 2026-07-21T13:23:38.037Z

## Other Package-Manager Records

- apk - protoc - 31.1-r3: normalized package name match | Alpine Linux edge package indexes: protoc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Protocol buffer compiler binary and library | https://github.com/protocolbuffers/protobuf
- Chocolatey - protoc: normalized package name match | Chocolatey community package catalog: protoc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','processing'


## Related links

- [Database and data packages](https://pkg.so/database-data-tools/) - Matched curated package taxonomy and local package facts.
- [protoc-gen-ts](https://pkg.so/npm/protoc-gen-ts/) - Package names and metadata indicate a similar tool family. Shared terms: buffers, cli, data, protobuf, protoc.
- [protoc-gen-grpc-web](https://pkg.so/npm/protoc-gen-grpc-web/) - Package names and metadata indicate a similar tool family. Shared terms: cli, data, protobuf, protoc, serialization.
- [protoc-gen-js](https://pkg.so/npm/protoc-gen-js/) - Package names and metadata indicate a similar tool family. Shared terms: cli, data, protobuf, protoc, serialization.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
