Describe the bug
If a project doesn't already have a .mise.toml, running mise use to add a package will add it to the global configuration
To Reproduce
Steps to reproduce the behavior.
b@toolbox ~> mkdir myproj
b@toolbox ~> cd myproj/
b@toolbox ~/myproj> mise use yarn@latest
mise yarn@4.2.2 ✓ installed
mise ~/.config/mise/config.toml tools: yarn@4.2.2
b@toolbox ~/myproj> nvim ~/.config/mise/config.toml # remove the entry from the global config
b@toolbox ~/myproj> touch .mise.toml
b@toolbox ~/myproj> mise use yarn@latest
mise ~/myproj/.mise.toml tools: yarn@4.2.2
b@toolbox ~/myproj>
Expected behavior
Mise should create and use a local .mise.toml unless the --global / -g flag is specified.
Describe the bug If a project doesn't already have a .mise.toml, running
mise use
to add a package will add it to the global configurationTo Reproduce Steps to reproduce the behavior.
Expected behavior Mise should create and use a local .mise.toml unless the --global / -g flag is specified.
mise doctor
outputAdditional context Add any other context about the problem here. Consider running mise with
--debug
or--trace
for extra debug info.