Skip to content

Instantly share code, notes, and snippets.

@shunirr
Created March 12, 2014 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shunirr/9501586 to your computer and use it in GitHub Desktop.
Save shunirr/9501586 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Command Line Developer Tools
xcode-select --install
# Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew update
if [ ! $(brew tap | grep phinze/cask) ]; then
brew tap phinze/homebrew-cask
fi
brew install brew-cask
if [ ! $(brew tap | grep homebrew/binary) ]; then
brew tap homebrew/binary
fi
brew install docker
if [ ! $(brew tap | grep fnichol/dvm) ]; then
brew tap fnichol/dvm
fi
brew install dvm
# Tools
brew install zsh
brew install tmux
brew install tree
brew install wget
brew install gnu-sed
brew install the_silver_searcher
brew install jq
brew install nkf
brew install watch
brew install fswatch
# Ruby
brew install curl-ca-bundle
brew install rbenv
brew install ruby-build
brew install rbenv-gemset
brew install rbenv-gem-rehash
brew install readline
brew install apple-gcc42
# Android
brew cask install java
brew install android-sdk
brew install android-ndk
brew install apktool
brew cask install virtualbox
brew cask install vagrant
brew cask install mono-mdk
brew cask install lastpass-universal
# dot-files
if [ ! -d ~/dev ]; then
mkdir -p ~/dev
fi
pushd ~/dev
if [ ! -d dot-files ]; then
git clone git@github.com:shunirr/dot-files.git
fi
pushd dot-files
make
make install
popd
popd
# Ruby
if [ ! -f /usr/local/etc/openssl/cert.pem ]; then
cp "$(brew list curl-ca-bundle)" /usr/local/etc/openssl/cert.pem
fi
rbenv install 2.1.0
rbenv install 2.0.0-p353
rbenv install 1.9.3-p484
# Android SDK
yes 'y' | android update sdk --no-ui --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment