how to detect version of gRPC?

46 views
Skip to first unread message

heman...@gmail.com

unread,
Feb 28, 2019, 10:43:51 AM2/28/19
to grpc.io
I downloaded gRPC for use from github.  How do I find out what version of gRPC this software is?  I don't see a VERSION file with the software.  

For example, with protobuf, I can use 'protoc --version` to find out the version of protobuf I am using.

Best,

Hemant

Carl Mastrangelo

unread,
Feb 28, 2019, 1:49:28 PM2/28/19
to grpc.io
What language are you using?

heman...@gmail.com

unread,
Feb 28, 2019, 5:51:30 PM2/28/19
to grpc.io
c++

thanks.

Nicolas Noble

unread,
Feb 28, 2019, 6:29:36 PM2/28/19
to heman...@gmail.com, grpc.io
gRPC isn't a software you run, it's a library. As such, there's no "command" to run.

You can get an std::string with the version using the call grpc::Version();

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/4701a223-36f1-4f2b-af64-00d1e088962c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

heman...@gmail.com

unread,
Feb 28, 2019, 6:38:35 PM2/28/19
to grpc.io
Ok, thanks!
Reply all
Reply to author
Forward
0 new messages