Other macOS installation options
When you install macOS from Recovery, you get the current version of the most recently installed macOS, with some exceptions:
- On an Intel-based Mac, if you use Shift-Option-Command-R during startup, you might be offered the macOS that came with your Mac, or the closest version still available.
- On an Intel-based Mac, if you use Option-Command-R during startup, you might be offered the latest macOS that is compatible with your Mac.
- If you just erased your entire startup disk, you might be offered an earlier compatible version of macOS.
- If the Mac logic board was just replaced, you might be offered the latest macOS that is compatible with your Mac.
reference
You can use macOS Recovery, your computer's built-in recovery system, to reinstall the Mac operating system. Reinstalling macOS doesn't remove your personal data.
support.apple.com
BTW most do it via the Internet using macOS Recovery