如何在 mac 中使用 grpcurl?

How to use grpcurl in mac?

如何在mac中使用grpcurl?

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

已尝试以下操作:

brew tap grpc/grpc

brew install --with-plugins grpc

以上不加grpcurl

编辑:

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

brew install grpcurl 适用于 Mac

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