Skip to content

How to get MacOS installers from the command line and create images for VMware Fusion

Notifications You must be signed in to change notification settings

nicholasjhenry/mac-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

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

About

How to get MacOS installers from the command line and create images for VMware Fusion

Resources

Stars

Watchers

Forks