MyVolume
in these commands with the name of your volume.Y
to confirm that you want to erase the volume, then press Return. Terminal shows the progress as the bootable installer is created. --applicationpath
argument, similar to the way this argument is used in the command for El Capitan.createinstallmedia
command and the arguments that you can use with it, make sure that the macOS installer is in your Applications folder, then enter this path in Terminal: