-
-
Save zh/966412 to your computer and use it in GitHub Desktop.
New machine setup. SET IT! AND FORGET IT!
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
#!/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 [email protected]: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