A very opinionated Ansible playbook to install, configure and update the following development tools on a Mac:
- 1Password
- Alfred
- amix/vimrc
- ChronoSync
- CleanMyMac
- Docker Desktop
- Firefox
- Google Chrome
- Google Cloud SDK
- Homebrew
- iTerm2
- Nerd Fonts
- NVM (Node Version Manager)
- Oh MyZsh
- Postman
- Rectangle
- Skitch
- Spotify
- Sublime Text
- Textmate
- XCode Command Line Tools
- ... and many commonly used DevOps commands
Tested on:
- macOS Sonoma
- macOS Big Sur
- macOS Catalina
- macOS Ventura
- Run
./mac-dev-bootstrap.sh
to begin the installation.- Note: When getting
Bash must not run in POSIX mode. Please unset POSIXLY_CORRECT and try again.
error, install Homebrew and upgrade Bash to the latest version:
- Note: When getting
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install bash
-
To install/configure just specific installation(s), run
./mac-dev-bootstrap.sh --tags "[ROLE_TAGS]"
, ex:./mac-dev-bootstrap.sh --tags "nvm"
: Install just NVM../mac-dev-bootstrap.sh --tags "nvm,gcloud"
: Install NVM and Google Cloud SDK.
-
To display the arguments passed to each task, run
ANSIBLE_DISPLAY_ARGS_TO_STDOUT=true ./mac-dev-bootstrap.sh
. -
To update all the tools in the future, run
update
in the terminal.