Skip to main content

CI/CD provider

ISSUE-1009MediumPackage Managers and Lockfiles

mise: a tool is declared in asdf's .tool-versions

Control:CTRL-1001mise-en-place

📋 What is this?

A tool is declared in a .tool-versions file and in no mise config of the same directory.

⚠️ Impact

mise reads .tool-versions but never locks it, so the tool's version and download are resolved at install time.

🔧 How to fix

Move the tool to the [tools] table of mise.toml, run mise lock, and commit the lockfile.

✗ BeforeNeither tool can be locked.
# .tool-versions: ❌ read by mise, never locked
nodejs 24.11.1
terraform 1.9.8
✓ AfterRun `mise lock`, commit `mise.lock`, and delete `.tool-versions`.
# mise.toml: ✅ the same tools, lockable
[tools]
node = "24.11.1"
terraform = "1.9.8"

💡 Tips

  • An asdf plugin name that mise reads as one of its tools (nodejs for node, golang for go) counts as that tool, so a tool declared in both files is not reported.
  • .tool-versions is read for this code only, so only when the lockfile check runs.
  • Idiomatic version files (.nvmrc, .node-version, .python-version and the like) are not read.

⚙️ Configure this control

With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.