Skip to content

Instantly share code, notes, and snippets.

@brianspiering
Last active May 28, 2016 20:46
Show Gist options
  • Save brianspiering/4a5c25b709df2587aa9bc1e9286a32a2 to your computer and use it in GitHub Desktop.
Save brianspiering/4a5c25b709df2587aa9bc1e9286a32a2 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Setup a new Mac by installing all apps automatically
# Install Homebrew, http://brew.sh/
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew tap caskroom/cask
apps=(
anaconda
anki
bartender2
caffeine
cleanmymac
dropbox
firefox
flux
github-desktop
google-chrome
google-drive
iterm2
java
jumpcut
mojibar
macdown
nvalt
skype
slack
spotify
sublime-text3
textexpander
xquartz
)
printf "installing apps..."
brew cask install --appdir="/Applications" ${apps[@]}
utilities=(
thefuck
apache-spark
wget
)
brew install ${utilities[@]}
# Clean things up
brew update && \
brew upgrade `brew outdated` && \
brew cleanup && \
brew cask cleanup && \
brew prune && \
brew doctor && \
brew tap caskroom/versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment