Skip to content

Instantly share code, notes, and snippets.

@geedelur
Created September 28, 2015 18:47
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 geedelur/ff95b6b82e92a8494929 to your computer and use it in GitHub Desktop.
Save geedelur/ff95b6b82e92a8494929 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Binaries
binaries=(
autossh
wget
coreutils # GNU core utilities (those that come with OS X are outdated)
findutils # GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
)
# Apps
apps=(
google-chrome
firefox
iterm2
sublime-text3
skype
vmware-fusion
sequel-pro
hipchat
jabber-video
vlc
)
# 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
echo "Updating homebrew (this can take a while)..."
brew update
# Install binaries
echo "Installing binaries..."
brew install ${binaries[@]}
# Cask for installing Apps
echo "Installing caskroom..."
brew install caskroom/cask/brew-cask
brew tap caskroom/versions
# Install apps
echo "Installing apps..."
brew cask install ${apps[@]}
echo "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment