Skip to content

Instantly share code, notes, and snippets.

@rick

rick/rebuild.md Secret

Last active Aug 29, 2015
Embed
What would you like to do?
building a laptop from scratch

Rebuilding a laptop

  • make a time machine backup
  • restart computer
  • hold down CMD-R while booting, go into OS recovery
  • wipe drive with Disk Utility, if necessary
  • install OS from network
  • upgrade to Yosemite, or whatever, if necessary
  • enable full disk encryption
  • install XCode from Software Update
  • open XCode, go to Preferences -> Downloads, install command-line tools
  • ssh-keygen
  • register new SSH key on your github account
  • sudo mkdir -p /opt/boxen
  • sudo chown ${USER}:staff /opt/boxen
  • git clone git@github.com:websages/boxen.git /opt/boxen/repo
  • cd /opt/boxen/repo
  • ./script/boxen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.