mise uninstall
- Usage:
mise uninstall [FLAGS] [INSTALLED_TOOL@VERSION]… - Effect: destructive — may delete or irreversibly overwrite
- Source code:
src/cli/uninstall.rs
Remove installed tool versions
Removes installed versions but does not edit mise.toml. Use mise unuse to remove a tool from mise.toml and uninstall it. A tool name or version prefix, such as node or node@22, must match exactly one installed version unless you pass --all.
Arguments
[INSTALLED_TOOL@VERSION]…— Tools to remove, such as node@22.0.0
Flags
-a --all— Remove every installed version of the named tools, or of every tool when none is named-n --dry-run— Show what would change without changing anything--dry-run-code— Like --dry-run, but exit with code 1 if there are tools to uninstallUse it in scripts that check whether tools need uninstalling.
-h --help— Print help
Examples
Uninstall a specific version
mise uninstall node@22.0.0Uninstall node when exactly one version is installed
mise uninstall nodeUninstall every installed version of node
mise uninstall --all node