--- url: "https://grpc.io/docs/protoc-installation/" titulek: "Protocol Buffer Compiler Installation | gRPC" h1: "Protocol Buffer Compiler Installation" popis: "How to install the protocol buffer compiler." jazyk: "en" kanonicka: "https://grpc.io/docs/protoc-installation/" drobecky: ["Docs", "Protoc Installation"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 21:01:08" znaku: 2010 slov: 116 kodovani: "utf-8" sha256: "dc5b4279a8804e4b9f59177da30d2d9e754a2ca5d9fb4f5f87f1050a03d2585a" --- # Protocol Buffer Compiler Installation How to install the protocol buffer compiler. # Protocol Buffer Compiler Installation How to install the protocol buffer compiler. While it is not mandatory to do so, gRPC applications often leverage [Protocol Buffers](https://protobuf.dev) for service definitions and data serialization. The protocol buffer compiler, `protoc`, is used to compile `.proto` files, which contain service and message definitions. For instructions on installing `protoc`, see the [Protobuf.dev web site](https://protobuf.dev/installation/). Last modified March 25, 2025: [Replaces an outdated topic with a link to the protobuf.dev site's installation topic. (#1416) (d1c10d3)](https://github.com/grpc/grpc.io/commit/d1c10d347b0345e30df21c8945cf17ce739e03fc) [View page source](https://github.com/grpc/grpc.io/tree/main/content/en/docs/protoc-installation.md) [Edit this page](https://github.com/grpc/grpc.io/edit/main/content/en/docs/protoc-installation.md) [Create child page](https://github.com/grpc/grpc.io/new/main/content/en/docs/protoc-installation.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+top+of+the+page+%28weight+controls+how+its+ordered+amongst+other+pages+in+the+same+directory%3B+lowest+number+first%29.%0A%2A+Add+a+good+commit+message+at+the+bottom+of+the+page+%28%3C80+characters%3B+use+the+extended+description+field+for+more+detail%29.%0A%2A+Create+a+new+branch+so+you+can+preview+your+new+file+and+request+a+review+via+Pull+Request.%0A) [Create documentation issue](https://github.com/grpc/grpc.io/issues/new?title=Protocol%20Buffer%20Compiler%20Installation) [Create project issue](https://github.com/grpc/grpc.io/issues/new)