Comment by port11
3 days ago
Mise’s refusal to make global packages globally available is off-putting. I keep using it for specific Node versions and the integration with fnox.
The big drawback: having Claude complain every couple of hours that the new worktree is untrusted; or having to prefix a bunch of commands with `mise exec …` is annoying as well. A global alias for all shells would be nice.
What do you mean by that? If you have mise activate set up correctly in your shell rc file, globally installed tools are available in every shell. There’s also shim mode [1].
I use Claude on a mise-powered project daily without any issues
[1] https://mise.jdx.dev/dev-tools/shims.html
Not an expert, but Claude doesn’t seem to be running with my ZSH profile? Really, anything that isn’t a terminal and tries to use global commands, such as utilities that expect Node to be available and so on. I always have to prefix commands, unless using the terminal myself.
Mise has two ways of running tools: the default one is ad-hoc PATH modifications, but there's also a shim folder you can add to PATH globally. If you mean the Claude desktop app or IDE plugin, the shim option is usually required, just edit the PATH the app is using (or the system-wide one).
You can also tell Claude to either run everything mise x or refresh its shell and it will do the zsh re-exec and that reloads the mise shims consistently.
These days also trivial to restart Claude ;)
I just added a post-checkout hook for my team:
`mise trust`
Resolves that trust issue right away and is scoped to your repo (not global). We also have a make setup that helps the folks still doing make things get all setup and trusted on the main work tree.
At a past job we had a local `doctor` script that did this.
Use work trunk then