mise shell
- Usage:
mise shell [FLAGS] <TOOL@VERSION>… - Aliases:
sh - Effect: read-only
- Source code:
src/cli/shell.rs
Set a tool version for the current shell session
Only works in a session where mise is already activated.
This works by setting environment variables for the current shell session such as MISE_NODE_VERSION=20 which is "eval"ed as a shell function created by mise activate.
Arguments
<TOOL@VERSION>…— Tool(s) to use
Flags
-j --jobs <JOBS>— Number of jobs to run in parallel Values below 1 are treated as 1 Defaults to thejobssettingEnvironment Variable:
MISE_JOBS-u --unset— Remove a previously set version--raw— Connect backend install command stdin/stdout/stderr directly to the terminal. Implies--jobs=1-h --help— Print help
Examples
mise shell node@20
node -v
v20.0.0