Created
August 27, 2016 05:46
-
-
Save Robdel12/3403f696c886f6db86c8e6c8ffc25a5c to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
# Check for Homebrew, install if we don't have it | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
# Update homebrew recipes | |
# brew update | |
# Binaries | |
binaries=( | |
emacs --cocoa | |
trash | |
node | |
ruby | |
tree | |
ack | |
hub | |
git | |
) | |
# Install binaries | |
echo "Installing binaries..." | |
brew install ${binaries[@]} | |
# Cleanup | |
brew cleanup | |
# Install brew-cask | |
brew install caskroom/cask/brew-cask | |
brew tap caskroom/versions | |
# Casks | |
casks=( | |
alfred | |
dropbox | |
firefoxdeveloperedition | |
flux | |
virtualbox | |
karabiner | |
) | |
# Install casks to /Applications | |
echo "Installing casks..." | |
brew cask install --appdir="/Applications" ${casks[@]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment