This playbook provides automatic installation of:
- dot files
- zsh
- Vim
- Go
- Homebrew / Cask packages
- Ruby and Gems
- Vagrant plugins
- fzf
- Node modules
- Python packages
on your macOS.
$ curl -O https://raw.githubusercontent.com/skatsuta/ansible-macos/master/setup
$ bash setup
Then you will be prompted like the following:
Copying your SSH public key into your clipboard...
Now you should add the generated key to GitHub before proceeding.
Are you sure you want to proceed? [Y/n]
Your public key is already copied in your clipboard, so add the key to GitHub before hitting the enter key.
After all the setup processes are done, you will see the following message:
Initialization has been completed successfully.
To start provisioning, run
$ cd /Users/skatsuta/src/github.com/skatsuta/ansible-macos
$ GOPATH=~ ansible-playbook playbook.yml
Then go to the next step. (If you encounter any problem during setup, fix it and re-run the script.)
If you want to install all the packages above, just run
$ ansible-playbook playbook.yml
If you want to install a paticular package, for example, go
, run with -t
option:
$ ansible-playbook playbook.yml -t go
This provisions only Go environment.