Disclaimer - please read before you try installing anything
Today, I ran into an old laptop, with Nvidia Geforce GT 520M, which is not supported by the latest driver anymore, version 390 works fine though. Therefore, I must strongly recommend running a search on the Nvidia drivers page before you try to install any driver version!
Generic way - the recommended way
If you'd like to have the recommended packages installed too, then you could run this (the version was last updated on 2023-Jul-01):
sudo apt-get install --install-recommends nvidia-driver-535
I may not update the version anymore, so I will tell you instead, how to find out (manually) that there is a new version.
As there are many ways, the most comfortable for me is (as a normal user or root) typing to your terminal:
apt-cache policy nvidia-driver-4
and double-tapping the Tab, an example output follows:
nvidia-driver-418 nvidia-driver-440-server nvidia-driver-460-server
nvidia-driver-418-server nvidia-driver-450 nvidia-driver-465
nvidia-driver-430 nvidia-driver-450-server nvidia-driver-470
nvidia-driver-435 nvidia-driver-455 nvidia-driver-470-server
nvidia-driver-440 nvidia-driver-460
Linux Mint - Driver Manager - please AVOID
It may be possible to even use Mint's GUI Driver Manager for this. Generally, I like the command-line way much more, actually, I never use this GUI, because it does not tell you what is happening, you would just blindly look at the progress bar. Therefore I strongly recommend not using this tool, and doing the job via the terminal as shown above.

Ubuntu way - NOT RECOMMENDED (!!!)
Thanks to the Ubuntu base, one can also take advantage of, which takes care of everything, but I do not recommend it due to one has no control over what happens, and things can break as a side effect, so the following I note only for completeness (click your mouse to show):
sudo ubuntu-drivers autoinstall
To only list drivers applicable to your system, you can do:
sudo ubuntu-drivers list
which will list all drivers available to install on your Ubuntu-based system.
2023 Updates & Notes
How to find if a specific set of versions are available:
apt-cache policy 'nvidia-driver-5*'
Note the quotes! You need to quote this string.
I myself ran into a black screen issue when running the install command above.
Remember: DO NOT PANIC in this case. Wait for 10-30 minutes depending on how long the installation usually takes you. The install time depends largely on how powerful your computer is overall. If you usually hear fan noise like me, wait a couple of minutes after the fan stops. If you do wait enough time, the Nvidia driver will be installed correctly. In my case, I had to force shutdown after the wait by pressing the power button for several seconds. It booted correctly which you can prove with nvidia-smi command:
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03 Driver Version: 535.54.03 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce GTX 1060 ... Off | 00000000:01:00.0 On | N/A |
| N/A 49C P0 24W / 60W | 240MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 1346 G /usr/lib/xorg/Xorg 166MiB |
| 0 N/A N/A 4476 G cinnamon 23MiB |
| 0 N/A N/A 18948 G ...ble-features=BlockInsecureDownloads 47MiB |
+---------------------------------------------------------------------------------------+
Or in GUI in Mint:
