Pin A Tool Version (mise)
Tools are pinned in home/dot_config/mise/config.toml.tmpl, installed as ~/.config/mise/config.toml.
Preconditions
miseis installed and onPATH.
Files
- Runtime versions:
home/dot_config/mise/config.toml.tmpl - Hook:
home/.chezmoiscripts/run_onchange_after_05-install-mise-runtimes.sh.tmpl
Steps
- Update the pinned version(s) under
[tools]inconfig.toml.tmpl. - Apply:
chezmoi apply
The hook runs mise install --yes and mise reshim.
Verification
mise ls --current
Notes
miserespects project.tool-versionsfiles if they exist..nvmrcsupport is enabled for Node viaidiomatic_version_file_enable_tools = ["node"].- Project
.mise.tomlfiles are trusted globally viatrusted_config_paths = ["/"]so generated worktrees and cloned repos do not need individualmise trustruns.