Open your web browser and navigate to the official for older macOS versions. Locate the link for macOS Sierra 10.12 .
: Your Mac must be compatible with macOS Sierra (generally late 2009 models or newer). USB Installer
This step creates a bootable drive, allowing you to install the system on any compatible Mac. Connect your USB flash drive to your Mac. Open (Applications > Utilities).