2

如何在mac中使用grpcurl?

$ grpcurl --plaintext $(minikube ip):31001 yages.Echo.Ping

尝试以下:

brew tap grpc/grpc

brew install --with-plugins grpc

以上不加grpcurl

4

2 回答 2

2

编辑:

brew install grpcurl现在在mac上工作。

=====

(替代版本)

如果 go 尚未安装: brew install go

然后:

go get github.com/fullstorydev/grpcurl
go install github.com/fullstorydev/grpcurl/cmd/grpcurl

参考:https ://github.com/fullstorydev/grpcurl

于 2018-07-20T07:48:51.540 回答
1

brew install grpcurl适用于 Mac

https://formulae.brew.sh/formula/grpcurl

于 2022-01-03T20:55:19.700 回答