Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ericrasch/ee6b6ae172c842b1a852 to your computer and use it in GitHub Desktop.

Select an option

Save ericrasch/ee6b6ae172c842b1a852 to your computer and use it in GitHub Desktop.

Setup OSX 10.9 with a Clean Install

After two years of tinkering my machine is a bit all over. With Mavericks I wanted to start fresh

1. Run Software Update

Make sure everything is up to date.

Software Update

Open Terminal to install the Command Line Tools

Notice this only works for Mac OS X Mavericks (10.9). For earlier versions, continue to use the in-app download in Xcode.

Git

Git Command

Select "Install"

3. Set OSX to show hidden files

defaults write com.apple.finder AppleShowAllFiles -boolean true
killall Finder

4. Configure Git and Generate SSH keys for GitHub

Copy the attached gitconfig settings and set your user info (left out to avoid issues)

cd ~/ && curl -O https://gist.github.com/jimmynotjim/7622492/raw/5e895d1da525594c14e1052feb5c9587fb99a41c/.gitconfig
git config --global user.name "Your Name Here"
git config --global user.email [email protected]

Visit GitHub's official guide for instructions.

5. Clone and Install Bash-It

Visit the Bash-It repo for more details.

My personal setup is ahead of @revans, be sure to clone mine and checkout the personal-set-up branch for those changes

Chruby is required for the rest of the setup, be sure to enable it when setting up Bash-It plugins

git clone [email protected]:jimmynotjim/bash-it.git ~/.bash_it
git checkout personal-set-up
~/.bash_it/install.sh

Open a new terminal window to use the Bash-It options you've set

6. Clone and Install Phix Terminal Theme

Visit my OSX Phix Theme repo for more details.

mkdir ~/Repos && cd $_
git clone [email protected]:jimmynotjim/OSX-Terminal-Phix-Theme.git
open ~/Repos/OSX-Terminal-Phix-Theme/Phix_Dark.terminal

Open Terminal > Preferences (or CMD + ,) and select "Default" to make Phix the default theme

7. Clone and Install Brew-It

Many apps can be installed through Homebrew and homebrew-cask which makes the process way simpler

Visit my Brew-It repo for more details.

git clone [email protected]:jimmynotjim/brew-it.git ~/.brew_it
~/.brew_it/install.sh
brew update
brew upgrade

8. Update PATH

Open .bash_profile and make the following edits

  • Add local bin and local sbin ahead of $PATH /usr/local/bin:/usr/local/sbin:
  • Switch Ruby version in PATH ~/.gem/ruby/2.0.0/bin:

9. Manual App Installs

Unfortunately some apps aren't available through homebrew, so you need to install it manually.

App Store
Manually

10. Install Global Node Packages

npm install -g yo bower grunt-cli

11. Configure Sublime Text

ln -s /opt/homebrew-cask/Caskroom/sublime-text3/3047/Sublime\ Text.app/Contents/SharedSupport/bin/subl  /usr/local/bin/subl

12. Install Alfred Workflows

Visit zenorocha's Alfred workflow collection repo for instructions.

13. Set NPM user

npm adduser username

14. Download IE test VMs for VirtualBox

These take a while to download, so maybe do it on a separate day as a background process.

# IE8 - XP
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE8_XP/IE8.XP.For.MacVirtualBox.ova"

# IE9 - Win7
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE9_Win7/IE9.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar,5.rar}"

# IE10 - Win8
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win8/IE10.Win8.For.MacVirtualBox.part{1.sfx,2.rar,3.rar}"

15. Download a base Ubuntu box for Vagrant

I'm using Vagrant to setup a few VMs locally for development.

Ubuntu 12.04 LTS 64-bits

vagrant box add precise64 http://files.vagrantup.com/precise64.box

16 Configure Environment for Genesis

vagrant plugin install vagrant-hostmanager
vagrant plugin install vagrant-list
curl https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub >> ~/.ssh/authorized_keys
gem install capistrano -v 2.15.3
gem install capistrano-ext colored

All done, have fun!

This process has been borrowed from here, here, here and here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment