Skip to content

Commit acba3f5

Browse files
fix(docs): update installation command (#3075)
* fix(docs): add protoc-gen-openapiv2 to tutorial * fix(docs): change get to install * Update docs/docs/tutorials/introduction.md Co-authored-by: Johan Brandhorst-Satzkorn <[email protected]> * Update docs/docs/tutorials/introduction.md Co-authored-by: Johan Brandhorst-Satzkorn <[email protected]> Co-authored-by: Johan Brandhorst-Satzkorn <[email protected]>
1 parent 492703c commit acba3f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/docs/tutorials/introduction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ Before we start coding, we have to install some tools.
2727

2828
We will be using a Go gRPC server in the examples, so please install Go first from [https://golang.org/dl/](https://golang.org/dl/).
2929

30-
After installing Go, use `go get` to download the following packages:
30+
After installing Go, use `go install` to download and build the following binaries:
3131

3232
```sh
33-
$ go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
34-
$ go get google.golang.org/protobuf/cmd/protoc-gen-go
35-
$ go get google.golang.org/grpc/cmd/protoc-gen-go-grpc
33+
$ go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
34+
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
35+
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
3636
```
3737

3838
This installs the `protoc` generator plugins we need to generate the stubs. Make sure to add `$GOPATH/bin` to your `$PATH` so that executables installed via `go get` are available on your `$PATH`.

0 commit comments

Comments
 (0)