tohru

tohru

A small dotfiles manager for reversible machine configuration.

Tohru is a small Go CLI for managing personal machine configuration.

Quickstart

Install the binary:

go install github.com/olimci/tohru@latest

Create a profile, add files, and preview what would change:

tohru profile new dotfiles
tohru profile add dotfiles ~/.zshrc
tohru plan dotfiles

Load the profile when the plan looks right:

tohru load dotfiles

Tohru backs up files it would clobber and restores them when the conflicting profile is unloaded.

Profiles are described by JSONC manifests named tohru.jsonc, with optional schema metadata for editor support.

Status

Currently in prerelease. Manifest and command contracts may change before 1.0.