Skip to content

Installation instructions for the common case (nit feature request) #1592

Open
@janpfeifer

Description

@janpfeifer

Is your feature request related to a problem? Please describe.

My project was using the older generation of the protoc / protoc-gen-go, and for years I didn't need to update the API so I never needed to run protoc and never upgraded.

Today I went to use, and my old installation instructions for those didn't work anymore.

A little digging and I figured it out ... but maybe a little installation instruction would have saved me (and other developers) some time. After all, if every library/package we use require a little digging around, we developers never move forward 😄

I was looking at:

https://pkg.go.dev/google.golang.org/[email protected]
https://github.com/protocolbuffers/protobuf-go?tab=readme-ov-file

And I didn't find installation instructions.

It would be nice to have simple installation instructions for the "common" cases (linux/ubuntu, mac, windows) somewhere, that all these documentation pages could link to ?

Can be as simple as:

Installation

Linux/Ubuntu

$ sudo apt install protobuf-compiler
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions