mise/use
- Usage:
mise use [FLAGS] [TOOL@VERSION]… - Aliases:
u - Source code:
src/cli/use.rs - Does the equivalent of calling mise/install to install a mise/Tool and adds the version to mise/Config/mise.toml.
- By default, installs it in a mise/Config/mise.toml/local.
mise use --global calls mise/install on the given mise/Tool and then adds it to the global mise/Config/mise.toml
What's the difference between mise/use and mise/install? card
mise install does one thing:- Installs a tool version to
~/.local/share/mise/installs/<PLUGIN>/<VERSION>
mise use does two things:- call
mise install - add the mise/Tool version to mise/Config/mise.toml