Cross-platform dotfiles managed with chezmoi.
Without a chezmoi installation (Unix):
BINDIR="$HOME/.local/bin" sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --verbose vitusliWith chezmoi already installed:
chezmoi init --apply --verbose vitusliInstall Apple's Command Line Tools first (required by Homebrew on a fresh Mac):
xcode-select --installThen run the bootstrap template.
Robust variant (works even if chezmoi is not yet in your current shell PATH):
"$HOME/.local/bin/chezmoi" execute-template < "$("$HOME/.local/bin/chezmoi" source-path)/bootstrap/bootstrap_macos.sh.tmpl" | bashIf chezmoi is already available in PATH:
chezmoi execute-template < "$(chezmoi source-path)/bootstrap/bootstrap_macos.sh.tmpl" | bashlocal
chezmoi apply -vremote
chezmoi update -v