Back to Mise

`mise shell`

docs/cli/shell.md

2026.8.121014 B
Original Source
<!-- @generated by usage-cli from usage spec -->

mise shell

  • Usage: mise shell [FLAGS] <TOOL@VERSION>…
  • Aliases: sh
  • Effect: read-only
  • Source code: src/cli/shell.rs

Sets a tool version for the current 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 [default: 4]

    Environment Variable: MISE_JOBS

  • -u --unset — Removes 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