til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Install chezmoi

[chezmoi][website] is a dotfile manager. Meaning that I can handle of those super important dotfiles you tend to build up over time and want to share among your hosts.

I recently got a new machine to I thought it was about time to get started with a dotfile manager to save some time. I had recently heard about chezmoi on the Change Log podcast, so I thought I would give it a spin.

First up you have to install it on your first machine, mine was an old macOS machine (hoarfrost).

Next up was installing it on a second, brand new, macOS matching (silverrocket), following the same procedure (some OS).

And finally installing it on an Ubuntu machine in the cloud I use for various things.

Install macOS / OSX

chezmoi is available via Homebrew

brew install chezmoi

Please see the official install guide for more details and options.

Or the Homebrew installation guide if you do not have brew available

Install Ubuntu

chezmoi can be installed via snap:

snap install chezmoi --classic

Please see the official install guide for more details and options.

Or the snapcraft installation guide if you do not have snap available

Resources and References

  1. chezmoi installation documentation
  2. Ubuntu Install via snap
  3. chezmoi GitHub repository
  4. chezmoi website