mise reshim
- Usage:
mise reshim [-f --force] [--system] - Effect: modifies state
- Source code:
src/cli/reshim.rs
Create shims for executables provided by installed tools
Run this when an executable was added to an existing installation outside mise, for example after a language package manager installed a CLI globally. It rebuilds the user shim directory by default; --system selects the shared system shim farm.
Shims are created for all installed versions. The shim resolves which version to run from the current configuration when invoked. --force rebuilds mise-owned shims; it does not turn unrelated files into mise-owned shims.
Flags
-f --force— Rebuild all mise-owned shims--system— Rebuild the system shim farm-h --help— Print help
Examples
Rebuild shims, then check node. Example output: v20.0.0.
mise reshim
~/.local/share/mise/shims/node -v