Skip to main content

Pin A Tool Version (mise)

Tools are pinned in home/dot_config/mise/config.toml.tmpl, installed as ~/.config/mise/config.toml.

Preconditions

  • mise is installed and on PATH.

Files

Steps

  1. Update the pinned version(s) under [tools] in config.toml.tmpl.
  2. Apply:
chezmoi apply

The hook runs mise install --yes and mise reshim.

Verification

mise ls --current

Notes

  • mise respects project .tool-versions files if they exist.
  • .nvmrc support is enabled for Node via idiomatic_version_file_enable_tools = ["node"].
  • Project .mise.toml files are trusted globally via trusted_config_paths = ["/"] so generated worktrees and cloned repos do not need individual mise trust runs.