command to check cmake version code example Example: how to check what version of cmake installed cmake --version