MPM-WHICH(1) MPM-WHICH(1)

mpm which - Locate CLIs on system.

mpm which [OPTIONS] CLI_NAMES...

Search from the user's environment all CLIs matching the query.

This is mpm's own version of the `which -a` UNIX command, used internally to locate binaries for each manager. It is exposed as a subcommand for convenience and to help troubleshoot CLI resolution logic.

Compared to the venerable `which` command, this will respect the additional path configured for each package manager. It will ignore files that are empty (0 size). On Windows, it additionally suppress the default lookup in the current directory, which takes precedence on other paths.

Show this message and exit.

Show this message and exit.

0
Success.
1
A runtime error, or an aborted prompt (Ctrl-C, a declined confirmation).
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.
2026-06-19