- Ensure Apple's command line tools are installed (xcode-select --install to launch the installer).
- Install Homebrew. run
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
. - Install Ansible. run
brew install ansible
.
- Clone this repo to your local drive
git clone https://github.com/huynextlevel/setup-mac
- Run
ansible-playbook -i hosts.yml ansible.yml
List of tools that will be install by Ansible..
- ~/Sources
- ~/Projects
- Git
- openssl
- Terraform (super lightweight DevOps resource automation)
- zsh (use as default shell), oh-my-zsh (~/Source/oh-my-zsh)
- spaceship-operator-mono theme for Zsh
- plugins for Zsh: suggestions, syntax highlighting, nvm
- nvm (node version manager)
- [email protected] (using
nvm
) - yarn (yet another node.js package manager)
- rvm (ruby version manager)
- watchman
- CocoaPods, we'll need to run
pod install cocoapods
on our own (it take too long time to run, so I don't think we want to have it installed by Ansible)