mise installs select
- Usage:
mise installs select <INSTALLATION> - Effect: modifies state
- Source code:
src/cli/installs/select.rs
Choose which installation mise uses when no lockfile pins one
Several installations can match the same request, such as a refreshed copy next to one a lockfile pinned, or installations made for different lockfiles. For a request with no lockfile entry, mise uses the installation selected for that tool, version, platform, and options. If none is selected and several match, mise stops and tells you to run this command.
本机上所有以相同请求且不使用锁文件的项目都会共享该选择。锁文件锁定了构件的项目会继续使用该构件的安装实例。版本链接(installs/<tool>/<version>)会指向选中的安装实例。
Arguments
<INSTALLATION>— 要选择的安装实例:目录名称或路径
Flags
-h --help— 显示帮助
Examples
Find jq's installations
mise installs ls jqUse this one for requests with no lockfile entry
mise installs select jq-hm3qa4vb