Created
February 17, 2014 16:22
-
-
Save benjaminparnell/9053751 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -v | |
set -e | |
if [ ! -d "/usr/local/bin" ]; then | |
sudo mkdir -p /usr/local/bin | |
fi | |
# Install the latest stable nave the node.js environment switcher Node.js | |
sudo sh -c 'curl -fsSL https://raw.github.com/isaacs/nave/master/nave.sh > /usr/local/bin/nave && chmod ugo+x /usr/local/bin/nave' | |
# Install a global node.js | |
sudo nave usemain stable | |
if [ -x "$(xcode-select --print-path)" ]; then | |
echo Skipping xcode | |
else | |
echo Installing Xcode CLI tools | |
curl -O https://dl.dropboxusercontent.com/u/4119997/Setup/xcode462_cltools_10_86938259a.dmg && open xcode462_cltools_10_86938259a.dmg | |
echo "Press enter once Command Line Tools for Xcode are installed" | |
read | |
fi | |
sudo xcodebuild -license | |
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)" | |
brew install automake | |
brew update | |
brew upgrade | |
if [ -x "$(which mongo)" ]; then | |
echo Skipping MongoDB | |
else | |
echo Installing MongoDB | |
brew install mongo | |
if [ ! -d ~/Library/LaunchAgents ]; then | |
mkdir -p ~/Library/LaunchAgents | |
fi | |
# Launch mongo on startup | |
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents | |
# Start mongo now | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist | |
fi | |
brew tap homebrew/versions | |
brew tap phinze/cask | |
brew install bash | |
brew install git | |
brew install brew-cask | |
brew install legit | |
legit install | |
brew install archey | |
brew install pv | |
brew install phantomjs | |
brew install qt | |
brew install rust | |
brew install ssh-copy-id | |
brew install tmux | |
brew install vim | |
brew install wget --enable-iri | |
brew install ruby | |
gem install rails | |
brew cask install google-chrome | |
brew cask install dropbox | |
brew cask install f-lux | |
brew cask install iterm2 | |
brew cask install virtualbox | |
brew cask install vlc | |
brew cask install firefox | |
brew cask install skype | |
brew cask install sublime-text | |
# Install zsh and oh-my-zsh | |
if [ -x "$(which zsh)" ]; then | |
brew install zsh | |
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh | |
fi | |
# Install a bunch of useful tools | |
brew install mtr iftop pv tree | |
brew cleanup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment