how to check cmake is installed or not code example Example: how to check what version of cmake installed cmake --version