$ cd ~
$ git init
$ git remote add origin https://github.com/stefanvanburen/dotfiles
$ git fetch
$ git checkout -f main
$ git config status.showUntrackedFiles no-
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install
just, which drives the rest of the setup (just bootstrapinstalls it from the Brewfile too, but it has to exist before it can run):$ brew install just -
Run the bootstrap — installs the Brewfile dependencies, sets
fishas the login shell (registering it in/etc/shellsfirst), and applies macOS system preferences. Safe to re-run on an existing machine to check for drift:$ just bootstrapThe preferences are the
macos-defaults-*recipes in thejustfile. The Zoom and Safari ones need Full Disk Access for the invoking terminal (System Settings -> Privacy & Security -> Full Disk Access), and Safari must be closed while its recipe runs. -
Create an ssh key (follow the instructions in ssh-config), and add it to GitHub and sourcehut.