Last active
September 25, 2018 17:20
-
-
Save petsto/b26ce2a3373147f18016a8282f936007 to your computer and use it in GitHub Desktop.
Provisioning macOS - 2018
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
## Config | |
masApps="Neptunes Bear" | |
brewPackages="git node go mas zsh-completions brew-cask-completions httpie ctop" | |
brewCaskApps="google-chrome visual-studio-code hyper sequel-pro docker vanilla rocket sketch viscosity dashlane alfred expressvpn skyfonts" | |
brewCaskFonts="font-open-sans" | |
npmGlobalPackages="browsersync csscomb eslint vtop vue-cli" | |
echo "Getting OS updates..." | |
softwareupdate -i | |
echo "Installing brew..." | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
echo "Installing brew cask & fonts..." | |
brew tap caskroom/cask | |
brew tap caskroom/fonts | |
echo "Updating brew..." | |
brew update | |
echo "Installing brew packages..." | |
brew install $brewPackages | |
echo "Installing apps via Brew Cask..." | |
brew cask install $brewCaskApps | |
echo "Installing fonts via Brew Cask..." | |
brew cask install $brewCaskFonts | |
echo "Installing global node packages..." | |
npm i -g $npmGlobalPackages | |
## Setup | |
echo "Signing into Mac App Store" | |
mas signin | |
echo "Installing Mac App Store apps..." | |
for app in $masApps; do | |
mas lucky $app | |
done | |
echo "Installing ZSH..." | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
echo "Installing ZSH plugins" | |
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting | |
echo " | |
Add the following plugins to the list of plugins for Oh My Zsh to load: | |
plugins=(zsh-syntax-highlighting zsh-autosuggestions) | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment