-
Shut down your Mac entirely and then boot into recovery OS
- Intel: Press power button then hold Cmd+R while booting
- M1/arm: Press and hold power button down while booting
-
While in recovery, run:
csrutil disable reboot
-
Install XCode from App Store
-
Explicitly open XCode after install to install extras
-
Generate an SSH key and associate it with your GitHub account (submodule cloning will fail otherwise)
-
Initialize dotfiles:
./init.sh
-
Restart your Mac while pressing Cmd+R to boot into recovery OS and run:
csrutil enable reboot
- If homebrew installation can't find and install the command line extras, then you may need to open Software Update to install missing updates for XCode. If macOS prompts you to reinstall the exact same updates after installing, try restarting (yes, actually)