Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
I was encouraged to fork this and modify it to my heart's content to match my own needs. Thanks to @kevinelliott
Note: I manage my dotfiles and vimrc with Homeshick. My environment is hyper customized and is not for everyone's taste.
The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.
-
Browsers
-
Development
- Dropbox
- Textmate2 (installed via Cask)
- Webstorm (installed via Cask)
- Tmate (installed via Homebrew)
- Vim v7.4 (installed via Homebrew)
- Puppet
- Chef
- VirtualBox
- Maven (installed version 3.0.2 via Homebrew)
- jdk 6
- jdk 7
- jdk 8
- rvm (installed via Dotfiles)
- nvm (installed via Dotfiles)
- Yeoman Stack
- MongoDB (installed via Homebrew)
-
Utilities
- 1Password
- iTerm 2 (installed via Cask)
- Little Snitch
- Spotify
- Slack (installed via Cask)
-
Virtualization
- Docker (installed via brew)
- Vagrant (installed via Cask)
-
Training
- Excercism (installed via brew binary)
#Xcode Command Line Tools
Xcode > Preferences > Downloads > Command Line Tools
#Homebrew
Homebrew can not install properly until this occurs.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
At the time of this writing, brew doctor
says that Xcode 6.1
is required, which means downloading it from the Apple Developer Center until it is released in the Mac App Store.
brew install caskroom/cask/brew-cask
** Install Homebrew binary
brew tap homebrew/binary
```
## Install common applications via Homebrew
```bash
brew install ack autojump automake colordiff curl git \
hub icoutils libmemcached memcached openssl ossp-uuid qt \
readline redis wget libxml2
```
## Install applications via Homebrew
```bash
brew update
brew tap homebrew/versions
brew tap nviennot/tmate
brew install vim
brew install tmate
brew install maven30
brew install mongodb
```
## Tmux
```
brew install tmux
brew install reattach-to-user-namespace
brew install cmatrix
```
## Install applications via Homebrew Cask
```bash
brew cask install awareness
brew cask install google-chrome
brew cask install joinme
brew cask install iterm2
brew cask install webstorm
brew cask install spotify
brew cask install vagrant
brew cask install vagrant-manager
brew cask install textmate2
brew cask install slack
```
## Install applications via Homebrew binary
````bash
brew install exercism
#Shell
Call homeshick.sh to install dotfiles and vimrc
https://gist.githubusercontent.com/newhavengill/11e92538ed89ca7e9c56/raw/homeshick.sh
* RVM
* NVM
* Heroku Toolbelt
npm install -g yo bower grunt-cli
npm install -g generator-webapp
#Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0.02
#Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12
#Add a context menu item for showing the Web Inspector in web views
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
#Show the ~/Library folder
chflags nohidden ~/Library
#Store screenshots in subfolder on desktop
mkdir ~/Desktop/Screenshots
defaults write com.apple.screencapture location ~/Desktop/Screenshots
sudo scutil --set HostName SpaceX-Falcon-9
#Git
# check existing keys
ls -al ~/.ssh
# create new key if one diesn't exist
ssh-keygen -t rsa -C "[email protected]"
# start the ssh-agent in the background
eval "$(ssh-agent -s)"
# Agent pid 59566
ssh-add ~/.ssh/id_rsa
# Copies the contents of the id_rsa.pub file to your clipboard. Paste in Github.com
pbcopy < ~/.ssh/id_rsa.pub
# Test connection
ssh -T [email protected]
brew install docker boot2docker
boot2docker init
boot2docker up
brew install postgres --no-ossp-uuid
brew pin postgres
# Initialize db if none exists already
initdb /usr/local/var/postgres
# Create launchctl script
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/postgresql/VERSION/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
# Edit launchctl script (set to not start automatically and keepalive false)
subl ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
# Inject launchctl script
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
# Start PostgreSQL
start pg