The UI font in MacOS is called SF Pro. If you have access to a Mac you can simply copy the .otf font files over to Linux (they are in /System/Library/Fonts on MacOS) and install and use them there.
If you don’t have access to a Mac, Google Roboto Sans is a very similar design (it was the default Android UI font for several years) and if it’s not already installed by your Linux distro, it’s freely downloadable.
The UI font in MacOS is called SF Pro. If you have access to a Mac you can simply copy the .otf font files over to Linux (they are in /System/Library/Fonts on MacOS) and install and use them there.
If you don’t have access to a Mac, Google Roboto Sans is a very similar design (it was the default Android UI font for several years) and if it’s not already installed by your Linux distro, it’s freely downloadable.