magento 2 check version command line

C++
#From your root folder, run this cli command

bin/magento --version

Source

Also in C++: