Last active
July 9, 2020 11:58
-
-
Save seize-the-dave/b4b4e2983db5edaa8086e10bc69a6303 to your computer and use it in GitHub Desktop.
Script to install everything onto a new Mac
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
# Install command line developer tools | |
xcode-select --install | |
# Install Brew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Reset brew | |
brew update | |
brew upgrade brew-cask | |
brew cleanup | |
brew cask cleanup | |
brew tap caskroom/fonts | |
homebrew_packages=( | |
httpie | |
bash-completion | |
docker | |
docker-machine | |
docker-compose | |
heroku | |
graphviz | |
maven | |
mas | |
rbenv | |
ruby-build | |
) | |
brew install ${homebrew_packages[@]} | |
homebrew_casks=( | |
alfred | |
font-fira-code | |
font-arial | |
google-chrome | |
google-drive-file-stream | |
google-photos-backup | |
spotify | |
spotify-notifications | |
steam | |
caffeine | |
skype | |
dropbox | |
gotomeeting | |
zoomus | |
virtualbox | |
github-desktop | |
java | |
atom | |
) | |
brew cask install ${homebrew_casks[@]} | |
# Alfred | |
http -d https://github.com/packal/repository/raw/master/net.deanishe.alfred-convert/convert-2.6.alfredworkflow -o convert.alfredworkflow && open convert.alfredworkflow && rm convert.alfredworkflow | |
http -d http://joelcalifa.com/blog/alfred-emoji-snippet-pack/Emoji%20Pack.alfredsnippets -o emoji.alfredsnippets && open emoji.alfredsnippets | |
# App Store | |
app_store_packages=( | |
585829637 # Todoist | |
926036361 # LastPass | |
986621173 # TNEF's Enough | |
405399194 # Kindle | |
441258766 # Magnet | |
425424353 # The Unarchiver | |
803453959 # Slack | |
1055273043 # PDF Expert | |
) | |
mas install ${app_store_packages[@]} | |
# Atom Editor | |
atom_packages=( | |
atom-beautify | |
git-plus | |
gloom | |
) | |
apm install ${atom_packages[@]} | |
# Ruby Development | |
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile | |
source ~/.bash_profile | |
rbenv install 2.2.7 | |
rbenv global 2.2.7 | |
# System Preferences | |
# Dock | |
defaults delete com.apple.dock persistent-apps | |
defaults delete com.apple.dock persistent-others | |
defaults write com.apple.dock largesize -int 75 | |
defaults write com.apple.dock tilesize -int 36 | |
defaults write com.apple.dock magnification -bool true | |
killall Dock | |
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1 | |
defaults write NSGlobalDomain AppleFontSmoothing -int 2 | |
defaults write com.apple.finder FXPreferredViewStyle Clmv | |
killall Finder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment