Skip to content

mise uninstall

Removes installed tool versions

This only removes the installed version, it does not modify mise.toml.

Arguments

[INSTALLED_TOOL@VERSION]…

Tool(s) to remove

Flags

-a --all

Delete all installed versions

-n --dry-run

Do not actually delete anything

--dry-run-code

Like --dry-run but exits with code 1 if there are tools to uninstall

This is useful for scripts to check if tools need to be uninstalled.

Examples:

# will uninstall specific version
$ mise uninstall node@18.0.0

# will uninstall the current node version (if only one version is installed)
$ mise uninstall node

# will uninstall all installed versions of node
$ mise uninstall --all node@18.0.0 # will uninstall all node versions

Licensed under the MIT License. Maintained by @jdx and friends.