Skip to content

Instantly share code, notes, and snippets.

@johnrc
Created March 26, 2015 01:20
Show Gist options
  • Save johnrc/257133df26fb04d47850 to your computer and use it in GitHub Desktop.
Save johnrc/257133df26fb04d47850 to your computer and use it in GitHub Desktop.
Command to create bootable Mac OS X installer
#!/usr/bin/env bash
# Must run as sudo and assumes the following:
# 1. your drive has been formatted with the name of "Untitled"
# 2. you've downloaded Yosemite from Apple store
/Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia \
--volume /Volumes/Untitled \
--applicationpath /Applications/Install\ OS\ X\ Yosemite.app
--nointeraction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment