Edit your dotfiles
Edit managed files using thechezmoi edit command:
- Basic edit
- Edit and apply
- Edit with watch
chezmoi apply.You don’t have to use
chezmoi edit. You can edit files directly in the source directory (~/.local/share/chezmoi) and apply changes later.Pull the latest changes from your repo and apply them
Pull and preview changes without applying
Automatically commit and push changes to your repo
Enable auto-commit and auto-push in your config file:autoCommit = true: Commits changes with auto-generated messagesautoPush = true: Commits and pushes (impliesautoCommit)- Custom templates: Prompt for messages or use template files
Install chezmoi and your dotfiles on a new machine with a single command
- Install and apply
- One-shot mode
- Custom repo
For a repo named This installs chezmoi, runs
dotfiles on GitHub:chezmoi init, and applies your dotfiles in one command.