checkpoint returns the current version of HashiCorp products
$ go get github.com/jasonwalsh/checkpoint
$ checkpoint -product consul
1.2.1
The full list of supported products.
MIT © Jason Walsh