This playbook helps me setting up a new macOS based dev machine from scratch.
It does:
- Install packages (via homebrew, pip, npm, composer, gem)
- Install apps (via homebrew cask, Mac App Store)
- Install my dotfiles (via yadm)
- Install zsh and zsh-plugins
- Install sublime-text configs
- Enable khd hotkey daemon and chunkwm window manager services
- Install Vim/Neovim plugins
My dotfiles are managed with yadm and stored in separate git repository which is pulled in the first time the playbook is run.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/kinglouie/ansible-macos-playbook/master/install.sh)"
# Install Apple's Command Line Tools
xcode-select --install
# Install Homebrew (see http://brew.sh)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install ansible
brew install ansible
# Clone this repository
git clone https://github.com/kinglouie/ansible-macos-playbook.git
# Download requirements
ansible-galaxy install -r requirements.yml
# Run the playbook
ansible-playbook main.yml -i inventory -K
ansible-playbook main.yml -i inventory -K --tags "dotfiles,homebrew"
- Configure Finder Sidebar
- Configure Mail accounts
- Configure Resilio Sync
- Configure Remote Desktop
- Configure Little Snitch
- Allow
chunkwm
,khd
andiTerm.app
Accessibility control under Security & Privacy preferences. - Symlink external dirs
find /Volumes/Data/Synced -maxdepth 1 -mindepth 1 -type d -exec ln -s '{}' ~/Synced \;
- Login
- Lastpass
- Firefox sync
- Github
- iStudiez Pro
- Transmit
- Install Licences
- Tower
- Adobe CC
- Sublime Text
- Hopper Disassembler
- Mathematica
- Adobe CC
- Little Snitch
- Safari plugins
- uBlock
- LastPass
- Firefox plugins
- uBlock
- LastPass
- Reddit Enhancement Suite
- Transmit
- Parallels Desktop
- CleanMyMac
- Debookee
- Archiver
- Microsoft Office
- Mathematica
- Kaleidoscope
- Fantastical
- http://www.packal.org/workflow/lastpass-cli-workflow-alfred
- http://www.packal.org/theme/neon-dreams
- http://www.packal.org/workflow/transmit
- https://www.alfredforum.com/topic/840-evernote-9-beta-2-for-alfred-3-search-create-append-set-reminders-all-within-alfred/
- https://github.com/robb/Fantastical-Alfred-Workflow
- http://jonohunt.tumblr.com/post/85815752538/alfred-workflow-to-add-tasks-to-remindersapp
- http://www.packal.org/workflow/github-repos
- https://github.com/willfarrell/alfred-encode-decode-workflow
- http://www.packal.org/workflow/whats-my-ip
This playbook is inspired by: