Skip to content

Instantly share code, notes, and snippets.

@zh
Forked from brettbuddin/install.sh
Created May 11, 2011 13:00
Show Gist options
  • Save zh/966412 to your computer and use it in GitHub Desktop.
Save zh/966412 to your computer and use it in GitHub Desktop.
New machine setup. SET IT! AND FORGET IT!
#!/bin/sh
# Usage: bash < <(curl -s https://gist.github.com/raw/965142/install.sh)
# Have sudo ask us for our password before we kick everything off so we can walk away.
sudo echo "Here we go..."
echo "Installing RVM..."
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
source $HOME/.rvm/scripts/rvm
echo "Installing Ruby 1.9.2..."
rvm install 1.9.2
rvm --default use 1.9.2
echo "Installing Homebrew..."
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)"
echo "Installing Homebrew packages..."
brew install zsh
brew install git
brew install svn
brew install tmux
brew install jslint
brew install mcrypt
brew install ack
brew install ctags
brew install z
brew install imagemagick
brew install ffmpeg
brew install sphinx
brew install scala
brew install erlang
brew install node
brew install go
brew install io
brew install mysql
unset TMPDIR
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
echo "Installing dotfiles..."
/usr/local/bin/git clone git@github.com:brettbuddin/dotfiles.git ~/.dotfiles
(cd ~/.dotfiles && rake)
sudo chsh -s /usr/local/bin/zsh $(whoami)
echo "Installing RubyGems..."
gem install rails
gem install sinatra
gem install jekyll
gem install capistrano
gem install sass
gem install boom
gem install jslint
echo "Installing Pow..."
curl get.pow.cx | sh
echo "Installing MacVim..."
brew install macvim
sudo ln -s $(brew --prefix macvim)/MacVim.app /Applications
echo "Installing iTerm..."
curl -s https://iterm2.googlecode.com/files/iTerm2-1_0_0_20120726.zip > /tmp/iterm.zip
unzip /tmp/iterm.zip
sudo mv iTerm.app /Applications
echo "Done. Enjoy it."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment