mise link
- Usage:
mise link [-f --force] <TOOL@VERSION> <PATH> - Aliases:
ln - Effect: modifies state
- Source code:
src/cli/link.rs
Symlink a tool version into mise
Use this to register an install that was compiled by hand or built with another tool.
Arguments
<TOOL@VERSION>— Tool name and version to create a symlink for<PATH>— The local path to the tool version e.g.: ~/.nvm/versions/node/v20.0.0
Flags
-f --force— Overwrite an existing tool version if it exists-h --help— Print help
Examples
build node-20.0.0 with node-build and link it into mise
node-build 20.0.0 ~/.nodes/20.0.0
mise link [email protected] ~/.nodes/20.0.0have mise use the node version provided by Homebrew
brew install node
mise link node@brew "$(brew --prefix node)"
mise use node@brew