https://github.com/nicholasjhenry/mac-installer
How to get MacOS installers from the command line and create images for VMware Fusion
https://github.com/nicholasjhenry/mac-installer
Last synced: 3 months ago
JSON representation
How to get MacOS installers from the command line and create images for VMware Fusion
- Host: GitHub
- URL: https://github.com/nicholasjhenry/mac-installer
- Owner: nicholasjhenry
- Created: 2023-10-14T14:15:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-14T23:01:58.000Z (over 1 year ago)
- Last Synced: 2024-12-31T17:19:53.546Z (5 months ago)
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mac Installer
Download an the MacOS installer, example:
```
softwareupdate --list-full-installers
softwareupdate --fetch-full-installer --full-installer-version 13.6
```Create a bootable installer:
```
ls /Volumes
sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
```To build a DMG installer for VM Fusion (recommend performing this in ~/Development/installers):
https://github.com/rtrouton/create_macos_vm_install_dmg
```
sudo /path/to/create_macos_vm_install_dmg.sh "/Applications/Install macOS Mojave.app" /path/to/output_directory
```## Troubleshooting
Error: "Unable to create the installation medium"
Cause: If you are trying to create a VM using the installer, e.g. Install macOS Ventura, you must
create a DMG file (see above).## References
* [How to Download and Install Older macOS Versions With Terminal](https://lifehacker.com/how-to-download-and-install-older-macos-versions-with-t-1839671161#:~:text=To%20download%20older%20builds%20of,to%20your%20Mac%27s%20Applications%20folder.)
* [Create a bootable installer for macOS](https://support.apple.com/en-ca/HT201372)