How to Install Nvidia Drivers on AlmaLinux Gnu/Linux Distro
GNU/Linux AlmaLinux Installing NVIDIA Driver
The linked tutorial shows you step-by-step How to Install Latest NVIDIA Graphics Driver in AlmaLinux desktops.
And the NVIDIA Driver AlmaLinux Setup is a breeze, requiring just a few straightforward Shell Commands to complete.
Most noteworthy: following the NVIDIA Recommendations should be better to use the NVIDIA Linux Graphics Driver from the AlmaLinux Repository.

Follow instructions for the corresponding CentOS Release!