Dotfiles Management

Discussions focus on tools and methods like chezmoi, GNU Stow, yadm, rcm, and git repos with symlinks for managing dotfiles across multiple machines and systems.

āž”ļø Stable 0.6x DevOps & Infrastructure
2,622
Comments
19
Years Active
5
Top Authors
#9488
Topic ID

Activity Over Time

2008
2
2009
27
2010
30
2011
54
2012
122
2013
116
2014
141
2015
98
2016
152
2017
132
2018
67
2019
211
2020
201
2021
189
2022
310
2023
198
2024
274
2025
278
2026
22

Keywords

ZSH eater.org ZDOTDIR HOME ARGS DropBox PATH HN tmux.conf VM dotfiles git repo git repo zsh config files dot home tmux

Sample Comments

egberts1 • Jan 15, 2019 • View on HN

chezmoiBecause it is important to centralize all your dotfiles.Disclaimer: I’m a chezmoi user.https://github.com/twpayne/chezmoi

lb4r • May 26, 2022 • View on HN

You could use a dotfiles manager like https://yadm.io/It's more or less a wrapper of git, but it comes with a bunch of features that allow you to do the things you describe.

sean10 • Jan 20, 2026 • View on HN

Have you considered using a dotfiles management solution like gnu stow?

pdimitar • Oct 6, 2022 • View on HN

Either a dedicated dotfile or just use Syncthing.

shabble • Nov 13, 2014 • View on HN

GNU Stow[1] referencing a git repo in ~/.dotfiles is what I use for that.You might consider it hackish, but at least there are plenty of tools out there for managing it :)[1] https://www.gnu.org/software/stow/

rkangel • Oct 23, 2019 • View on HN

Related: How do people manage their dotfiles? I have mine in a git repository, but then I have a hand maintained bash script to make symlinks from the right paths to those files in the repo.

metabeard • Oct 1, 2023 • View on HN

Anecdotal comment: Check out Chezmoi. Its worked really well for me.

amelius • May 13, 2021 • View on HN

Why not store everything in a Git repo, and symlink the dotfiles to the right place?

drexlspivey • Jun 10, 2019 • View on HN

For dotfiles I use the workflow from this comment https://news.ycombinator.com/item?id=11071754 with a keybase encrypted repo I use: git init --bare $HOME/.myconf alias config='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME' config config status.showUntrackedFiles no where my ~/.myconf

bgar • Oct 21, 2014 • View on HN

What I do is just keep all of the dotfiles in ~/dotfiles and symlink them to the home directory, then I can keep track of them with git. Doesn't have to be any more work than that. Maybe it's not an issue for me because I only use one machine, and when I switch to another, I just pull down my dotfiles from github and symlink them again. I only do this every couple years.