how to know version of heroku

C++
$ sudo snap install --classic herokuheroku -v
# to know ther version of heroku
Source

Also in C++: