Skip to content

Instantly share code, notes, and snippets.

@aaronthorp
Created March 23, 2015 04:56
Show Gist options
  • Save aaronthorp/e2c1570f4037dba6f8f8 to your computer and use it in GitHub Desktop.
Save aaronthorp/e2c1570f4037dba6f8f8 to your computer and use it in GitHub Desktop.
#!/bin/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)"
brew doctor
fi
# Update homebrew recipes
brew update
binaries=(
graphicsmagick
casperjs
imagemagick
mariadb
phantomjs
mongodb26
trash
node
git
)
echo "installing binaries..."
brew install ${binaries[@]}
brew cleanup
brew install caskroom/cask/brew-cask
# Apps
apps=(
robomongo
spectacle
teamviewer
unrarx
java
ngrok
atom
dropbox
google-chrome
qlcolorcode
slack
hazel
qlmarkdown
seil
arq
flash
iterm2
qlprettypatch
shiori
qlstephen
vlc
quicklook-json
skype
)
# Install apps to /Applications
# Default is: /Users/$user/Applications
echo "installing apps..."
brew cask install --appdir="/Applications" ${apps[@]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment