Skip to content

Instantly share code, notes, and snippets.

@JasonSwindle
Last active August 29, 2015 14:08
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 JasonSwindle/44f09e43f6d3bc6fe258 to your computer and use it in GitHub Desktop.
Save JasonSwindle/44f09e43f6d3bc6fe258 to your computer and use it in GitHub Desktop.
Quickly bootstrap your OS X reinstall.
#!/bin/bash
echo "Installing Brew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# List of Apps for Brew to install...
brew_list=(
android-platform-tools
brew-pip
go
reattach-to-user-namespace
tmux
tree
wget
xz
)
echo "Installing Brew apps..."
brew install ${brew_list[@]}
echo "Installing Cask apps..."
brew install caskroom/cask/brew-cask
echo "Doing the Cask needful..."
brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup
# List of Apps for Cask to install...
cask_list=(
atom
alfred
appcleaner
cakebrew
caffeine
ccleaner
dropbox
minecraft
github
google-chrome
iterm2-nightly
limechat
nvalt
smcfancontrol
steam
trim-enabler
vlc
)
echo "Installing Brew Cask apps..."
brew cask install --appdir="/Applications" ${cask_list[@]}
apm_list=(
language-docker
language-puppet
language-salt
linter
linter-erb
linter-js-yaml
linter-jsonlint
linter-puppet-lint
linter-xmllint
pretty-json
sync-settings
)
echo "Installing Atom add-ons..."
apm install ${apm_list[@]}
echo "Doing the needful..."
apm rebuild-module-cache && brew doctor
echo "Done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment