how to check what version of cmake installed

C++
cmake --version
Source

Also in C++: