thanhtoan1196 / mac-setup-1

Scripts to setup new macs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mac Setup

Scripts to setup new macs.

Basic

Install Homebrew and Cask

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew tap caskroom/cask

This will also download the Command Line Tools (git, etc.)

Clone this repo

mkdir projects
cd projects
git clone https://github.com/frankdilo/mac-setup.git && cd mac-setup

Install casks

while read app; do
  brew cask install "$app"
done < homebrew-cask/basic.txt
# Remove downloaded files and cleanup space
brew cask cleanup

Install Mac App Store apps

brew install mas # cli for the mac app store
app_ids_without_comments=$(grep -o '^[^#]*' mas/basic.txt | grep -v '^$')
echo $app_ids_without_comments | xargs mas install

Development

Install homebrews

while read tool; do
  brew install "$tool"
done < homebrew/dev.txt

Install casks

while read app; do
  brew cask install "$app"
done < homebrew-cask/dev.txt

Install Oh My Zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

About

Scripts to setup new macs.

License:MIT License