# Managing dotfiles and secret with chezmoi

DevFeed: [Managing dotfiles and secret with chezmoi](<https://devfeed.tech/articles/managing-dotfiles-and-secret-with-chezmoi-26073.md>)

Original publisher: [Read original article](<https://blog.arkey.fr/2020/04/01/manage_dotfiles_with_chezmoi/>)

Author: brice.dutheil@gmail.com (Brice Dutheil)

Published: 2020-04-01T00:00:00Z

Content type: tutorial

Language: en

Sources: [The Coffee Workshop](<https://devfeed.tech/sources/the-coffee-workshop.md>)

Topics: [chezmoi](<https://devfeed.tech/topics/chezmoi.md>), [dotfiles](<https://devfeed.tech/topics/dotfiles.md>), [Git](<https://devfeed.tech/topics/git.md>), [passwords](<https://devfeed.tech/topics/passwords.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [commands](<https://devfeed.tech/tags/commands.md>), [files](<https://devfeed.tech/tags/files.md>), [git](<https://devfeed.tech/tags/git.md>), [machine](<https://devfeed.tech/tags/machine.md>), [password](<https://devfeed.tech/tags/password.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [work](<https://devfeed.tech/tags/work.md>)

## AI overview

A tutorial on using chezmoi to manage dotfiles across machines, synchronize them through Git, compare and apply changes, and handle secret-containing files with templating and 1Password.

## Source excerpt

Every once in a while, you may need to bootstrap a new machine, and along with it to reconfigure home directory's dot files. Various approaches already exist, using simple archive, git the home directory, gnu stow (symlinks), etc.