Last active
February 25, 2019 20:54
-
-
Save gekitsuu/e3dd4378878c1e7ec7f62e2d04d50884 to your computer and use it in GitHub Desktop.
Setup a new 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
#!/bin/bash | |
# Author: Adam Glenn | |
# Email : [email protected] | |
# | |
# To update this Gist run | |
# gist --login # if not already logged in | |
# gist -u e3dd4378878c1e7ec7f62e2d04d50884 ./setup_my_mac.sh | |
install_homebrew(){ | |
# Install Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
} | |
install_cask_apps() { | |
# Install Casks | |
brew cask install \ | |
arq \ | |
audio-hijack \ | |
between \ | |
calibre \ | |
gimp \ | |
iterm2 \ | |
keyboard-maestro \ | |
sdl-framework \ | |
sdl-ttf-framework \ | |
skitch \ | |
vagrant \ | |
virtualbox \ | |
visual-studio-code \ | |
vlc | |
} | |
install_brew_apps(){ | |
# Configure some homebrew things | |
brew analytics off | |
# Install brew packages | |
brew install \ | |
awscli \ | |
git \ | |
jq \ | |
nmap \ | |
node \ | |
pwgen \ | |
python \ | |
python3 \ | |
rsync \ | |
s3cmd \ | |
sqlite \ | |
tree \ | |
wget \ | |
youtube-dl \ | |
zsh | |
} | |
configure_mac(){ | |
# Undo some silly Mac things | |
defaults write com.apple.finder AppleShowAllFiles YES # Show hidden files in the finder | |
defaults write com.apple.NetworkBrowser DisableAirDrop -bool YES # Disable AirDrop | |
} | |
install_homebrew | |
install_brew_apps | |
install_cask_apps | |
configure_mac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment