Skip to content

Instantly share code, notes, and snippets.

@paddykontschak
Forked from jpantuso/osx_lion_rail_setup.md
Last active April 24, 2017 13:48
Show Gist options
  • Save paddykontschak/3278484 to your computer and use it in GitHub Desktop.
Save paddykontschak/3278484 to your computer and use it in GitHub Desktop.
Personal Setup for OS X 10.8

Setup new Mac with OS X Mountain Lion from scratch

These commands are good as of 2013-01-11.

OS X

Show Library folder in Finder

chflags nohidden ~/Library/

Terminal

ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

Note that Xcode is a dependency of Homebrew

brew install wget
wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh

restart iTerm

irssi

brew install irssi

Colors

Tomorrow color scheme

SCM

brew install git

Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.

curl -L https://get.rvm.io | bash -s stable --ruby --rails
brew install node
curl https://npmjs.org/install.sh | sh

Rubygems

brew install git-flow
brew install hub
gem install github
brew install legit
legit install
gem update --system
gem install compass
gem install haml
gem install homesick
macgem install hotcocoa

Node modules

npm install -g coffee-script
npm install -g ftpm
npm install bower -g

Sublime Text 2

import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'

Install Packages:

  • Alignment
  • CoffeeScript
  • Git
  • HAML
  • HTML5
  • Jade
  • jQuery
  • LESS
  • Sass
  • SCSS
  • Phoenix Theme

Install dotfiles

homesick clone git://github.com/paddykontschak/dotfiles.git
homesick pull dotfiles
homesick symlink dotfiles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment