The nvidia-smi command is not working, what do I do?

How to auto install my Nvidia Drivers

Enter this command in your SSH session and it will automatically install the newest Nvidia drivers for the system. After the installation is complete, the nvidia-smi command will output the GPU information.

sudo ubuntu-drivers autoinstall
Did this answer your question?