Mac OS X 10.9 Mavericks

Installing OS X onto multiple Macs is much facilitated by using a bootable installation media, particularly a USB stick. Apple provides a corresponding script buried inside its installer downloaded from the App Store. Use it as follows (all on one line):

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction

The target volume in the example is called /Volumes/MyVolume; replace this with whatever name your volume has. Note that the target volume will be erased prior to copying the installer files to it. For more details, see http://support.apple.com/HT201372.