mise which
- Usage:
mise which [FLAGS] [BIN_NAME] - Effect: read-only
- Source code:
src/cli/which.rs
Show the path a tool's executable resolves to
Prints the real path of the executable mise would run for BIN_NAME in the current directory, bypassing shims. Use --version or --plugin to see which tool version provides it.
Arguments
[BIN_NAME]— The executable to look up
Flags
-t --tool <TOOL@VERSION>— Look in a specific tool version, such asmise which npm --tool=node@20--plugin— Show the name of the tool that provides the executable--version— Show the version instead of the path-h --help— Print help
Examples
Show the path of the node executable
mise which node
~/.local/share/mise/installs/node/20.0.0/bin/nodeShow the tool that provides it
mise which node --plugin
nodeShow the version that provides it
mise which node --version
20.0.0