

bootstrap script from Zach Holman’s dotfiles repo. Check out all of these examples, or clone a copy of my dotfiles repo cpojer/dotfiles. If you don’t have your own dotfiles repo yet, I highly recommend making one to backup your bash, fish shell, git, and other configuration. Once you are ready to use git locally, clone your dotfiles repository into ~/.home via git clone. Most likely you’ll find yourself reading the Connecting to GitHub with SSH guide for the 100th time because you just cannot remember how to set up a new SSH key otherwise. The first step is to log in to GitHub and set up a new SSH key via GitHub → Settings → SSH and GPG Keys → New SSH key. To get started setting up a new Mac, open your Terminal and run xcode-select -install and sudo xcodebuild -license in your terminal. It also forces me to make my setup portable which prevents the potential for data loss. I prefer setting up new devices from scratch as it keeps my computers clean. While there are various methods to automatically migrate data like Apple’s Migration Assistant, they are usually imperfect, require a lot of manual work, and often cannot be used on corporate Macs.

Over the years I used many different personal and work Macs. I just received a new Starlight M2 MacBook Air and I wanted to share scripts, apps, protips, and what hasn’t worked for me in the past when setting up a new Mac, fast.
