You'll, need to make a bootable USB stick...
Create a bootable installer - Apple Support
Use the App Store
To download macOS from the App Store, use a Mac that is compatible with that macOS. If your Mac isn't compatible, the App Store dims the Get button, says that the macOS is not compatible with this device, or says that the requested version of macOS is not available.
If these links don't work as expected, try again using Safari, which is in your Applications folder.
Sonoma 14
Ventura 13
Monterey 12
Big Sur 11
Catalina 10.15
Mojave 10.14
High Sierra 10.13
- Use these links to find macOS in the App Store.
- Cick the Get button in the App Store to begin downloading. Software Update might open and ask you to download from there.
- After downloading to your Applications folder, the installer opens automatically. Follow the onscreen installation instructions. Or quit without installing to leave the installer in your Applications folder for later use.
How to download and install macOS - Apple Support
macOS High Sierra - Technical Specifications
General Requirements
- OS X 10.8 or later
- 2GB of memory
- 14.3GB of available storage to perform upgrade*
- Some features require an Apple ID; terms apply.
- Some features require a compatible Internet service provider; fees may apply.
Mac Hardware Requirements
For details about your Mac model, click the Apple icon at the top left of your screen, choose About This Mac. These Mac models are compatible with macOS High Sierra:
- MacBook (Late 2009 or newer)
- MacBook Pro (Mid 2010 or newer)
- MacBook Air (Late 2010 or newer)
- Mac mini (Mid 2010 or newer)
- iMac (Late 2009 or newer)
- Mac Pro (Mid 2010 or newer)
macOS High Sierra - Technical Specifications
https://itunes.apple.com/app/macos-high-sierra/id1246284741?mt=12
macOS Mojave 10.14.6 - Technical Specifications
General Requirements
OS X 10.8 or later
2GB of memory
12.5GB of available storage (OS X El Capitan 10.11.5 or later)*
Some features require an Apple ID; terms apply.
Some features require a compatible Internet service provider; fees may apply.
Mac Hardware Requirements
For details about your Mac model, click the Apple icon at the top left of your screen and choose About This Mac. These Mac models are compatible with macOS Mojave:
MacBook (Early 2015 or newer)
MacBook Air (Mid 2012 or newer)
MacBook Pro (Mid 2012 or newer)
Mac mini (Late 2012 or newer)
iMac (Late 2012 or newer)
iMac Pro (2017)
Mac Pro (Late 2013; Mid 2010 and Mid 2012 models with recommended Metal-capable graphics cards)
macOS Mojave - Technical Specifications
https://itunes.apple.com/us/app/macos-mojave/id1398502828?mt=12