Last active
May 3, 2017 16:14
-
-
Save jonahoffline/5930642cf5502f16e7ad to your computer and use it in GitHub Desktop.
Simple script for getting a new macbook dev configured.
This file contains 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
# Simple script for getting new mac setup | |
# Author: Jonah R <[email protected]> | |
# | |
# 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 | |
brew update | |
binaries=( | |
curl | |
git | |
crystal | |
erlang | |
elixir | |
phantomjs | |
nmap | |
sqlite | |
coreutils | |
findutils | |
ag | |
graphicsmagick | |
webkit2png | |
rename | |
zopfli | |
ffmpeg | |
trash | |
tree | |
ack | |
hub | |
pwgen | |
ant | |
cloc | |
tmux | |
lynx | |
tree | |
wget | |
watchman | |
git-extras | |
go | |
jpegoptim | |
optipng | |
awsebcli | |
awscli | |
) | |
echo "installing binaries..." | |
brew install ${binaries[@]} | |
brew cleanup | |
brew install caskroom/cask/brew-cask | |
apps=( | |
sizeup | |
send-to-kindle | |
packet-peeper | |
pgweb | |
atom | |
dropbox | |
google-chrome | |
qlcolorcode | |
slack | |
transmit | |
appcleaner | |
qlmarkdown | |
spotify | |
iterm2 | |
qlprettypatch | |
shiori | |
atom | |
qlstephen | |
sketch | |
vlc | |
quicklook-json | |
transmission | |
bartender | |
1password | |
screenhero | |
) | |
# Install apps to /Applications | |
# Default is: /Users/$user/Applications | |
echo "installing apps..." | |
brew cask install --appdir="/Applications" ${apps[@]} | |
# RVM | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
\curl -sSL https://get.rvm.io | bash -s stable | |
rvm install 2.4.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment