macOS recovery path

Restore your Mac.
Keep your secrets yours.

Start from a clean Mac, unlock the guarded bootstrap, inspect it, and rebuild the development environment in a predictable sequence.

Terminal — guarded Mac restore
$ if [ -n "${ZSH_VERSION:-}" ]; then
    read -s "BOOTSTRAP_PASSWORD?Bootstrap password: "
  else
    read -rsp "Bootstrap password: " BOOTSTRAP_PASSWORD
  fi
$ echo
$ curl -fsSL --user "bootstrap:${BOOTSTRAP_PASSWORD}" \
    "https://dotfilesetup.netlify.app/bootstrap-mac.sh" \
    -o /tmp/bootstrap-mac.sh
$ unset BOOTSTRAP_PASSWORD
$ less /tmp/bootstrap-mac.sh
$ bash /tmp/bootstrap-mac.sh
Download script
  1. UnlockEnter the dedicated password only when Terminal prompts for it.
  2. InspectReview the downloaded script before allowing it to make changes.
  3. RestoreRun the bootstrap and follow the browser sign-in prompts as they appear.