-
Install chezmoi: Follow the official installation guide: https://www.chezmoi.io/install/
-
Initialize chezmoi with this repository:
chezmoi init https://github.com/YOwatari/dotfiles.git
-
Apply the configuration: Review the changes chezmoi will make:
chezmoi diff
Apply the changes:
chezmoi apply
Some configurations might require specific tools to be installed beforehand. For example, on macOS:
# Install Xcode Command Line Tools if not already installed
xcode-select --install
# Install Homebrew (if used for package management)
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"