cd /path/to/cmake tar xvf cmake-3.22.5-linux-aarch64.tar.gz
export PATH=/path/to/cmake/cmake-3.22.5-linux-aarch64/bin:$PATH