Tool remains on path if MISE_DISABLE_TOOLS is set through mise #9822
Unanswered
proceduralnoisy
asked this question in
Troubleshooting and bug reports
Replies: 1 comment 3 replies
-
|
Why don't you set as a setting? mise reads the env var from the process and it won't get overridden by the env var set in the config. If this is not documented I think we should. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This bug occurs on 2026.5.6 on both Linux and Windows
Consider the following:
mise is correctly ignoring node when running
mise list, but mise incorrectly continues to add node to the path.Observations:
mise reshimor relaunching the shell.mise uninstall noderesolves the issue, but the issue returns if the tool is reinstalled (e.g. in another directory that uses it)MISE_DISABLE_TOOLSis set in a parent directory instead (this only occurs when it's disabled in the same directory that uses the tools)disable_toolssetting is used insteadUse case:
We have a Python-based CLI tool that is installed by mise, but occasionally need to redirect to the system version of the tool (specifically, to test against an editable version of the tool, which mise doesn't currently seem to support).
In the past, we could use
mise use --env local pipx:mytool@system, but the@systemfunctionality is now deprecated.Any alternative suggestions would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions