Shim should auto-install missing requested version when another version is already installed #8312
Replies: 1 comment 2 replies
-
|
This is an intentional design decision — auto-installing tools during shim execution or the That said, the existing If you want fully proactive "install on cd" behavior, you can achieve this with a mise hook — for example an This reply was AI-generated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What I'm doing
mise.toml:terraform = "1.14.4").terraform versioncorrectly show1.14.4, installed through miseterraform = "1.14.5".terraform versionWhat I expect
What actually happens
mise lsshows 1.14.4 is installed, and that 1.14.5 is missingWhat does work
mise exec -- terraform versioninstalls 1.14.5 and runs it as expected.mise hook-not-found -v terraform(simulating command-not-found) installs 1.14.5.Request
Can mise install the missing terraform version when directly calling terraform?
That would align the behavior with:
mise exec/mise run, which already install missing versions from config, andmise doctoroutputBeta Was this translation helpful? Give feedback.
All reactions