A bootable installer can be useful when you want to install macOS on multiple computers without downloading the installer each time. When your Mac starts up from a bootable installer, it starts up directly to the macOS installer, and doesn't require an Internet connection to complete the installation.
These advanced steps are primarily for system administrators and others who are familiar with the command line. It isn't necessary to create a bootable installer to install macOS.
Download macOS from the App Store
- Download macOS from the App Store. To download, use a Mac that is compatible with the version of macOS you're downloading.
If you're downloading macOS High Sierra, use a Mac with High Sierra, Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators: Please download from Apple, not a locally hosted software-update server.
- When the macOS installer opens, quit it without continuing installation.
- Find the installer in your Applications folder as a single ”Install” file, such as Install macOS High Sierra.
Use the 'createinstallmedia' command in Terminal
- After downloading the installer, connect your Mac to the USB flash drive or other volume that will be used as the bootable installer. Make sure that it has at least 12GB of available storage.
- Open Terminal, which is in the Utilities folder of your Applications folder.
- Type or paste one of the following commands in Terminal. These assume that the installer is still in your Applications folder, and the name of your volume is MyVolume. If it's named differently, replace MyVolume accordingly.
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ High\ Sierra.app
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ Sierra.app
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ Yosemite.app
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ Mavericks.app
- Press Return after typing the command.
- When prompted, type your administrator password and press Return again. Terminal doesn't show any characters as you type your password.
- When prompted, type
Yto confirm that you want to erase the volume, then press Return. Terminal shows the progress as the bootable installer is created.
- Quit Terminal when done.
Use the bootable installer
- Connect the volume containing the bootable installer to a compatible Mac.
- Use Startup Disk preferences or Startup Manager to select that volume as the startup disk. Learn about selecting a startup disk, including what to do if your Mac doesn't start up from it.
- Your Mac then starts up directly to the macOS installer. Follow the onscreen instructions to install macOS.
For more information about the
createinstallmedia command used in the examples above, make sure that the macOS installer is in your Applications folder, then enter the appropriate path in Terminal:
/Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia
/Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia
/Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia
/Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia
/Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia