Last active
February 3, 2025 14:24
-
-
Save startergo/c843213288a44a1a80aa1f796a956b00 to your computer and use it in GitHub Desktop.
How to Download Full MacOS Installer from Mac Command Line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Mac OS Big Sur 11.2.3: | |
http://swcdn.apple.com/content/downloads/12/32/071-14766-A_Q2H6ELXGVG/zx8saim8tei7fezrmvu4vuab80m0e8a5ll/InstallAssistant.pkg | |
// Mac OS Catalina 10.15: | |
https://itunes.apple.com/us/app/macos-catalina/id1466841314?ls=1&mt=12 | |
// Mac OS Mojave 10.14: | |
https://itunes.apple.com/us/app/macos-mojave/id1398502828?ls=1&mt=12 | |
// Mac OS High Sierra 10.13: | |
https://itunes.apple.com/us/app/macos-high-sierra/id1246284741?ls=1&mt=12 | |
// MacOS Sierra 10.12: | |
http://updates-http.cdn-apple.com/2019/cert/061-39476-20191023-48f365f4-0015-4c41-9f44-39d3d2aca067/InstallOS.dmg | |
// OS X El Capitan 10.11: | |
http://updates-http.cdn-apple.com/2019/cert/061-41424-20191024-218af9ec-cf50-4516-9011-228c78eda3d2/InstallMacOSX.dmg | |
// OS X Yosemite 10.10: | |
http://updates-http.cdn-apple.com/2019/cert/061-41343-20191023-02465f92-3ab5-4c92-bfe2-b725447a070d/InstallMacOSX.dmg | |
// OS X Mavericks 10.9 | |
https://apps.apple.com/us/app/id675248567?mt=12 | |
// Install mas-cli: | |
brew install mas | |
// Or with MacPorts: | |
sudo port install mas | |
// Download Mavericks with mas-cli. Previous download may be required: | |
mas install 675248567 | |
// OS X Mountain Lion 10.8: | |
https://support.apple.com/kb/DL2076?locale=en_US | |
// OS X Lion 10.7: | |
https://support.apple.com/kb/DL2077?locale=en_US | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a bootable installer for OS X
With OS X El Capitan, Yosemite, or Mavericks, you can use a USB flash drive or other removable media as a startup disk from which to install OS X.
These advanced steps are intended primarly for system administrators and others who are familiar with the command line.
Use the 'createinstallmedia' command in Terminal
Download the OS X installer from the Mac App Store. Quit the installer if it opens automatically after downloading. The installer will be in your Applications folder.
Mount your USB flash drive or other volume. You could also use a secondary internal partition.
Open the Terminal app, which is in the Utilities folder of your Applications folder.
Use the
createinstallmedia
command in Terminal to create the bootable installer. Examples of this command are in the next section. For detailed usage instructions, make sure that the appropriate Install OS X app is in your Applications folder, then enter one of the following paths in Terminal:Path for High Sierra:
/Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia
Path for El Capitan:
/Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia
Path for Yosemite:
/Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia
Path for Mavericks:
Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia
Examples
This is the basic syntax of the command. Replace
volumepath
with the path to your USB flash drive or other volume, and replaceinstallerpath
with the path to the Install OS X app.createinstallmedia --volume volumepath --applicationpath installerpath