- Go to this repo with Safari on the new laptop
- Ensure Apple's command line tools are installed (
xcode-select --install
to launch the installer). - Install Ansible:
- Go to python.org/download and download the python installer. Install manually
- Install the SSL certificates for python.
/Application/Python... /Install\ Certificates.command
- Install Ansible:
pip3 install ansible
- Clone or download this repository to your local drive:
mkdir git; cd git; git clone https://github.com/flyck/mac-dev-playbook.git
- Remove all existing dock icons
defaults write com.apple.dock persistent-apps -array killall Dock
- Run
ansible-galaxy install -r requirements.yml
inside this directory to install required Ansible roles. They allow automatic installation of homebrew packages and more. - Run
ansible-playbook main.yml --ask-become-pass
inside this directory. Enter your macOS account password when prompted for the 'BECOME' password.- Casks might need to be commented out temporarily because of: geerlingguy/mac-dev-playbook#196
- Then, add brew to your path:
export PATH="/opt/homebrew/bin:$PATH"
and runbrew update
. - Finally comment then back in, and the ansible playbook should succeed
- Enable rectangle (the window manager) by starting it manually and giving the systems permissions. Configure it to start on login.
- Enable stats by opening it once and giving it the appropriate permissions. Configure it to start on login.
- Restart Chrome and activate all automatically added plugins.
- Add the users home to the favorites:
- Press shift-command-G to bring up "go to folder". Select
~
- Add it to favorites via control-command-T
- Press shift-command-G to bring up "go to folder". Select
- Start emacs and have all the packages installed.
- Remove the ^Space mac keybinding in the system menu (interferes with emacs keybinding)
- Install the downloaded font in ~/.fonts by double-clicking it
- Import the iterm profile on the desktop in iterm and set it as the default. (depends on font)
- Log into Dropbox
- Import the bookmarks into chrome from Dropbox
- Have central homebrew apps automatically installed
- zsh
- vscode
- git
- Setup iterm2
- zsh config
- iterm profile with important settings
- iterm color schemes
- Git setup
- git global config
- setup git/ folder
- download 6 most recently contributed github projects
- Javascript Dev
- Node
- bun install
- fnm install
- set an fnm default version (download it)
- Node
- Emacs config setup
- brew install emacs
- download config
- ispell
- ag search
- Dock setup
- defaults write com.apple.dock persistent-apps -array
- killall Dock
- brew install dockutil
- dockutil add emacs ...
- Chrome addons
- Wallpaper
Thanks to the inspiration and underlying ansible roles from geerlingguy's mac-dev-playbook.