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/ –applicationpath /Applications/Install 10.12 Developer Preview.app
You should see something like this in your Terminal.
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.