chck cuda version code example Example 1: check cuda version nvcc --version Example 2: check cuda version cat /usr/local/cuda/version.txt