-
-
Save Brandonsmith23/9cc038fdd390c8a6030b to your computer and use it in GitHub Desktop.
newbox.sh
This file contains hidden or 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 | |
echo "Restore Privacy" | |
curl -sSL https://fix-macosx.com/fix-macosx.py | python | |
echo "Installing xcode" | |
xcode-select --install | |
wait | |
echo "Installing Homebrew" | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
echo "Adding cask" | |
brew doctor | |
brew update | |
brew tap caskroom/cask | |
brew install caskroom/cask/brew-cask | |
echo "Initialize cask. enter your password when prompted" | |
brew cask | |
echo "Install apps" | |
brew cask install iterm2 | |
brew cask install sublime-text | |
brew cask install virtualbox | |
brew cask install vagrant | |
brew cask install firefox | |
brew cask install google-chrome | |
echo "Cleanup" | |
brew cask cleanup | |
echo "Install oh-my-zsh" | |
curl -L http://install.ohmyz.sh | sh | |
echo "Install RVM" | |
curl -sSL https://get.rvm.io | bash -s -- --auto-dotfiles | |
source ~/.zshrc | |
rvm install 2.2 --force | |
source ~/.rvm/scripts/rvm | |
rvm use 2.2 --default | |
gem install bundler --version 1.10.5 | |
echo "Prepare for Github" | |
brew install hub | |
echo "alias git=hub" >> ~/.zshrc | |
ssh-keygen | |
pbcopy < ~/.ssh/id_rsa.pub | |
echo "Your key should be copied to clipboard and ready to be added to Github" | |
echo "Your computer is now setup. Open a new terminal window and run ruby --version to ensure the correct Ruby version is being used" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment