Files
tldr/pages/common/chezmoi.md
Vitor Henrique d79a1667e3 pages*: refine wording (#12132)
* pages*: refine wording

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-02-09 19:25:36 +05:30

644 B

Chezmoi

A multi-machine dotfile manager, written in Go. More information: https://chezmoi.io.

  • Setup up chezmoi, creating a Git repository in ~/.local/share/chezmoi:

chezmoi init

  • Start tracking one or more dotfiles:

chezmoi add {{path/to/dotfile1 path/to/dotfile2 ...}}

  • Edit the source state of a tracked dotfile:

chezmoi edit {{path/to/dotfile_or_symlink}}

  • See pending changes:

chezmoi diff

  • Apply the changes:

chezmoi -v apply

  • Set up chezmoi from existing dotfiles of a Git repository:

chezmoi init {{repository_url}}

  • Pull changes from a remote repository and apply them:

chezmoi update