Created
April 8, 2016 10:40
-
-
Save ultim8k/a8992f494c50f0758774a179fbf06503 to your computer and use it in GitHub Desktop.
Hacker's Guide to Setting up Your Mac (http://lapwinglabs.com/blog/hacker-guide-to-setting-up-your-mac)
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=( | |
android-sdk | |
archey | |
arp-scan | |
boot2docker | |
coreutils | |
docker | |
emacs --cocoa | |
ffmpeg | |
findutils | |
git-flow-avh | |
gnupg2 | |
graphicsmagick --with-ghostscript | |
grep | |
heroku-toolbelt | |
htop-osx | |
leiningen | |
media-info | |
mercurial | |
mtr | |
node | |
p7zip | |
postgresql | |
redis | |
rename | |
ssh-copy-id | |
streamripper | |
trash | |
youtube-dl | |
) | |
# Install binaries | |
echo "Installing binaries..." | |
brew install ${binaries[@]} | |
# Cleanup | |
brew cleanup | |
# Install brew-cask | |
brew install caskroom/cask/brew-cask | |
# brew tap caskroom/fonts | |
brew tap caskroom/versions | |
# Casks | |
casks=( | |
android-file-transfer | |
android-studio | |
appcleaner | |
clipmenu | |
dash | |
dropbox | |
firefoxdeveloperedition | |
flash | |
flux | |
gimp | |
google-chrome | |
horndis | |
insomniax | |
intellij-idea-ce | |
istat-menus | |
iterm2 | |
java | |
java6 | |
keka | |
launchcontrol | |
lighttable | |
limechat | |
little-snitch | |
mamp | |
mou | |
mpv | |
netspot | |
omnigraffle | |
openzfs | |
prey | |
pycharm-ce | |
rawtherapee | |
seil | |
skype | |
sourcetree | |
spectacle | |
sublime-text3 | |
transmission | |
vagrant | |
virtualbox | |
) | |
# Install casks to /Applications | |
echo "Installing casks..." | |
brew cask install --appdir="/Applications" ${casks[@]} | |
# # Fonts | |
# fonts=( | |
# font-inconsolata | |
# ) | |
# # Install fonts | |
# echo "Installing fonts..." | |
# brew cask install ${fonts[@]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment