Linux Hint published a tutorial about installing CMake on Debian 11.
How to Install CMake on Debian 11
Tutorial on how to install the CMake on Debian 11 using the graphical or command line method and how to uninstall it to remove it from your Debian system.
How to Install CMake on Debian 11