This repo uses chezmoi to manage my macOS/Linux dotfiles and packages.
-
Install homebrew:
If on linux, you may need to install some dependencies, e.g.:
apt install curl git ... or ... yum install curl git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" eval "$(<brew_path>/bin/brew shellenv)"
-
Install chezmoi
brew install chezmoi
-
Generate and set an access token for Bitwarden Secrets
- Log in to Secrets Manager
- Create or select an existing Machine account and associate it with the
chezmoiproject - Create an access token for the account and copy it for the next step
-
Fetch and initialise the config:
chezmoi init dsbibby
-
Check what will be changed
chezmoi diff
-
Apply the changes
chezmoi apply