Skip to content

Instantly share code, notes, and snippets.

@mekanics
Last active December 13, 2015 16:49
Show Gist options
  • Save mekanics/4943320 to your computer and use it in GitHub Desktop.
Save mekanics/4943320 to your computer and use it in GitHub Desktop.

Setup new Mac with OSX from scratch

05.05.2014

Install Xcode 5.1.1

App Store https://itunes.apple.com/ch/app/xcode/id497799835?l=en&mt=12

Install the Command Line Tools

Optometrist color sheme

https://github.com/pstadler/optometrist

Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Git

brew install git git-flow

configure git

  • set your username and email

      git config --global user.name "<your name>"
      git config --global user.email "<your email>"
    
  • active the colors

      git config --global color.ui true 
    
  • set global gitignore

      echo "Pods/" >> ~/.gitignore
    

Some small helpers

brew install wget ack xctool

Oh-My-Zsh

curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh

configure oh-my-zsh set these settings in ~/.zshrc

ZSH_THEME="lukerandall"

plugins=(git git-flow svn osx ruby brew gem pod)

restart the terminal

rbenv

brew update
brew install rbenv ruby-build rbenv-gem-rehash

add this line to ~/.zshrc

eval "$(rbenv init -)"

Start new shell session

Install ruby

rbenv install 2.1
rbenv global

node.js

brew install node

Cask

brew install caskroom/cask/brew-cask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment