Terminal will copy the installer files to the drive. Once complete, it will display "Done." Method 2: Creating the Bootable USB on Windows
Double-click your .dmg file to mount it. create mac os x bootable usb installer from dmg
Turn on the Mac and immediately press and hold the key. Terminal will copy the installer files to the drive
Keep holding the key until the Startup Manager screen appears. create mac os x bootable usb installer from dmg
The syntax generally looks like this: sudo /Applications/Install\ macOS\ [Name].app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume