Setting Up a New Mac with a Shell Script

The concept of setting up a new Mac with a shell script in the programming community is not a new thing, and I found an article on automation by Kent C Dodds (opens in a new tab) and it got me thinking about doing more of it.

Digging even further, I found that Kent has a macos dotfile (opens in a new tab) to set up a new Mac.

This is one reason I love macOS, for stuff like this.

You can use curl to grab the dotfile from your repo without needed to stick it in Dropbox or head over to GitHub to download it with:

curl https://raw.githubusercontent.com/<yourname>/dotfiles/master/.<your_script> | bash

Here is my implementation (opens in a new tab).

© tiff.RSS