You can now quit Terminal and eject the volume.
When Terminal says that it's finished, the volume will have the same name as the installer you've downloaded, such as Install macOS Monterey.After the volume has been erased, you may see an alert stating that Terminal would like to access files on a removable volume.
Terminal displays the progress as the volume is being erased.
* If your Mac is using macOS Sierra or earlier, include the -applicationpath argument and installer path, similar to the way this is done in the command for El Capitan.
Sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia -volume /Volumes/ MyVolume -applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app Create a bootable USB drive for macOS X versions including El Capitan, Yosemite, Mavericks, Sierra, High Sierra, Mojave, Catalina, Big Sur and Monterey. From this point, we've now provided plenty of installation files whether for installing macOS on Windows or on Mac. Sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia -volume /Volumes/ MyVolume
These assume that the installer is in your Applications folder, and MyVolume is the name of the USB flash drive or other volume you're using. Type or paste one of the following commands in Terminal. Luckily, DiskMaker X helps fill the void by allowing you to make a bootable OS X 10.11 El Capitan USB install drive, making a task such as installing on several different machines easier.