Restart and hold the key (for Intel Macs) or the Power button (for Apple Silicon). Select the "Install macOS" drive from the boot menu.

: For modern macOS versions, use the createinstallmedia command:

: Open Disk Utility , select your USB, and erase it using "Mac OS Extended (Journaled)" format and "GUID Partition Map."

: Ensure your hardware is compatible with the specific macOS version you are downloading.

: Known for having a wide variety of software and OS builds.