Install and activate
curl -fsSL https://mise.run | sh
Install mise to ~/.local/bin
eval "$(mise activate bash)"
Activate in bash (put in ~/.bashrc)
eval "$(mise activate zsh)"
Activate in zsh (put in ~/.zshrc)
mise activate fish | source
Activate in fish (config.fish)
mise completion bash
Print shell completions
mise reshim
Rebuild shims for installed tools
mise self-update
Update mise itself
mise version
Show the mise version
mise use <tool>@<version>
Install and add to mise.toml
mise use -g <tool>@<version>
Same, in the global config
mise use --pin <tool>@<version>
Record the exact resolved version
mise use --remove <tool>
Drop a tool from the config
mise install
Install every tool the config lists
mise install <tool>@<version>
Install without touching config
mise ls
List installed and active tools
mise ls --missing
Requested but not installed
mise ls-remote <tool>
Versions available to install
mise latest <tool>
Latest version matching a request
mise outdated
Show tools with newer versions
mise upgrade
Upgrade within configured ranges
mise upgrade --bump
Upgrade and rewrite the versions
mise unuse <tool>
Remove from config and prune
mise prune
Delete versions nothing uses
mise uninstall <tool>@<version>
Remove an installed version
mise search <text>
Search for available tools
mise registry
List tool shorthand names
mise where <tool>
Install dir of a tool version
mise which <bin>
Path of the executable mise resolves
mise exec <tool>@<version> -- <cmd>
Run a command with that tool
mise x -- <cmd>
Run with the project's tools and env
mise exec <tool> -c "<a> &&
<b>"
Run a shell string (pipes, &&)
mise shell <tool>@<version>
Use a version in this shell only
mise shell -u <tool>
Undo a mise shell override
mise en
Subshell with tools and env loaded
mise exec --deny-net -- <cmd>
Run with network blocked
mise bin-paths
List bin dirs of active tools
Tasks
mise run <task>
Run a task and its dependencies
mise <task>
Shorthand for mise run <task>
mise run <a> ::: <b>
Run several tasks in parallel
mise run 'test:*'
Run tasks matching a pattern
mise run <task> <args>
Pass arguments to a task
mise run -n <task>
Show run order, execute nothing
mise run -f <task>
Run even if outputs are current
mise run -j 1 <a> ::: <b>
Limit parallel jobs
mise tasks add <task> -- <cmd>
Create a task
mise tasks info <task>
Show one task's details
mise watch <task>
Rerun a task when files change
Task fields in [tasks.<name>]
| Field |
Effect |
run |
Command, or array run in order |
description |
Shown in mise tasks |
depends |
Tasks that must succeed first |
alias |
Short name for mise run |
dir |
Working directory |
env |
Variables for this task only |
sources / outputs |
Skip when outputs are current |
hide |
Hide from the list, still runnable |
confirm |
Ask before running |