Setting up my fresh OS X install from scratch:
- Install xcode (once installed go to
Xcode->Preferences->Components
to download command line tools, thensudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
to point to things like opendiff) - Install purchased apps from AppStore
- Install Dropbox
- Install Chrome, Firefox
- Install brew
brew install git
brew install mongo
mkdir -p /data/db
sudo chgrp admin /data/db
sudo chmod g+w /data/db
ln -s ~/Dropbox/dotfiles/.zshrc ~/.zshrc
ln -s ~/Dropbox/dotfiles/.ssh ~/.ssh
ln -s ~/Dropbox/dotfiles/.vim ~/.vim
ln -s ~/Dropbox/dotfiles/.vim/vimrc ~/.vimrc
ln -s ~/Dropbox/dotfiles/.npmrc ~/.npmrc
- Install node from .dmg
npm install n -g
n 0.4.12
n stable
n latest
npm install nodemon -g
- Show hidden files in finder (ugly but useful)
defaults write com.apple.Finder AppleShowAllFiles YES
- Show file extensions in finder
Finder->Preferences->Advanced
- Set key repeat rate higher and delay shorter
System Preferences->Keyboard
- Set keyboard interaction on all dialogs
System Preferences->Keyboard->Keyboard Shortcuts
- Install SublimeText 2, add package manager and install SublimeLinter, SublimeCodeIntel
- Install GitHub for Mac
- Switch image zoom smoothing off (⌘⌥\)
- Fix apachebench: Download https://github.com/radiospiel/ApacheBench-Lion and replace
/usr/sbin/ab
At the moment you need to update git using the package manually, you can easily automate this with brew, if you eventually decide to use more cli software, for example
tmux
brew can compile it for you, the same can be said if you wanted to installmongo
,redis
,optipng
etc, everything is all contained in one "dependancy manager", personally I find it great for a load of reasons, but mostly I find my self spending less time mucking around compiling / updating these components.