Install latest NVIDIA Drivers

How to install latest NVIDIA Drivers in Terminal?

With "sudo apt install nvidia-driver-xxx" the same way as in Ubuntu?

Yes, those commands will work.
You can also run

sudo ubuntu-drivers install