Skip to content

Instantly share code, notes, and snippets.

@jmfontaine
Last active December 15, 2023 23:40
Show Gist options
  • Save jmfontaine/fa4ddffe18fefd2f1ffc63ff34e358e5 to your computer and use it in GitHub Desktop.
Save jmfontaine/fa4ddffe18fefd2f1ffc63ff34e358e5 to your computer and use it in GitHub Desktop.
Machine Bootstrap
#!/bin/bash
function info() {
tput setaf 2
echo -e "$@"
tput sgr0
}
info "Install Homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
info "Install yadm"
brew install yadm
info "\nBootstrap the machine"
yadm clone --bootstrap https://github.com/jmfontaine/dotfiles.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment