Apple recently announced Mac OS Sierra at WWDC which is currently available as a Developer Preview and soon will be available as Public Beta.
While most of you may prefer installing it directly by upgrading their current EL Capitan setup others may want to clean install or create a bootable flash drive to install it on multiple Mac or have a USB installer instead.
You need to have a flash drive that is 8GB or above.
All you have to do is open Terminal and enter this command and change the
<usbmedia> with you flash drive name.
(Be careful while choosing your flash drive as this process will erase the data on that specific volume)
sudo /Applications/Install 10.12 Developer Preview.app/Contents/Resources/createinstallmedia –volume /Volumes/<usbmedia> –applicationpath /Applications/Install 10.12 Developer Preview.app
You should see something like this in your Terminal.
Ready to start. To continue we need to erase the disk at /Volumes/Flash Drive. If you wish to continue type (Y) then press return: Y Erasing Disk: 0%… 10%… 20%… 30%…100%… Copying installer files to disk… Copy complete. Making disk bootable… Copying boot files… Copy complete. Done.
You can now reboot your Mac and hold the option key to switch to the flash drive that contains the installer
Thank you for reading.