Skip to content

Instantly share code, notes, and snippets.

@csgavino
Last active December 23, 2015 18:59
Show Gist options
  • Save csgavino/6679918 to your computer and use it in GitHub Desktop.
Save csgavino/6679918 to your computer and use it in GitHub Desktop.
install() {
echo -e "Installing $1\n"
brew install $*
}
curl https://gist.github.com/csgavino/6648410/raw -Lso ~/.bashrc
curl https://gist.github.com/csgavino/6648432/raw -Lso ~/.tmux.conf
curl https://gist.github.com/csgavino/6351486/raw -Lso ~/.vimrc
echo "source ~/.bashrc" >> ~/.bash_profile
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew update
install postgres --no-python
initdb /usr/local/var/postgres -E utf8
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
install redis
install the_silver_searcher
install vim
install ctags
install tmux
install reattach-to-user-namespace
install imagemagick
install qt
install watch
install gitop
install rbenv
eval "$(rbenv init -)"
source ~/.bashrc
brew tap homebrew/dupes
install rbenv-gem-rehash
install ruby-build
install openssl
brew link openssl --force
install curl-ca-bundle
rbenv install 2.0.0-p353
rbenv global 2.0.0-p353
rbenv rehash
gem update --system
gem install bundler --no-ri --no-rdoc
gem install rails --no-ri --no-rdoc
install heroku-toolbelt
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim +BundleInstall +qall
@csgavino
Copy link
Author

Pre Install
Before you get started you need to install Command line tools for Xcode https://developer.apple.com/downloads/index.action or install Xcode first then you can use it to install Command Line Tools for Xcode.

To install Command Line Tools using Xcode

  1. Open Xcode
  2. Click on Preferences
  3. Click on Downloads
  4. Click on the Components tab
  5. Click install beside Command Line Tools

Install
Just type this in your terminal to install.
bash <(curl -s https://gist.github.com/csgavino/6679918/raw)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment