1
0
mirror of https://github.com/danbee/mac-setup synced 2025-03-04 08:39:10 +00:00
mac-setup/setup.sh
2019-04-15 14:46:08 -04:00

24 lines
550 B
Bash
Executable File

#!/bin/sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# We want to be in the user home directory.
cd ~
# Get Brewfiles.
echo 'Downloading...'
curl -s https://raw.githubusercontent.com/danbee/mac-setup/master/Brewfile > ~/Brewfile
curl -s https://raw.githubusercontent.com/danbee/mac-setup/master/mas.sh > ~/mas.sh
chmod +x ~/mas.sh
# Install brew bundles
echo 'Installing Homebrew bundle...'
brew bundle
# Install Mac App Store apps
echo 'Installing App Store apps'
~/mas.sh
echo 'Done!'