mise install
- Usage:
mise install [FLAGS] [TOOL@VERSION]… - Aliases:
i - Source code:
src/cli/install.rs
Install a tool version
Installs a tool version to ~/.local/share/mise/installs/<PLUGIN>/<VERSION> Installing alone will not activate the tools so they won't be in PATH. To install and/or activate in one command, use mise use which will create a mise.toml file in the current directory to activate this tool when inside the directory. Alternatively, run mise exec <TOOL>@<VERSION> -- <COMMAND> to execute a tool without creating config files.
Tools will be installed in parallel. To disable, set --jobs=1 or MISE_JOBS=1
Arguments
[TOOL@VERSION]…
Tool(s) to install e.g.: node@20
Flags
-f --force
Force reinstall even if already installed
-j --jobs <JOBS>
Number of jobs to run in parallel [default: 4]
-n --dry-run
Show what would be installed without actually installing
-v --verbose…
Show installation output
This argument will print plugin output such as download, configuration, and compilation output.
--before <BEFORE>
Only install versions released before this date
Supports absolute dates like "2024-06-01" and relative durations like "90d" or "1y".
--dry-run-code
Like --dry-run but exits with code 1 if there are tools to install
This is useful for scripts to check if tools need to be installed.
--raw
Directly pipe stdin/stdout/stderr from plugin to user Sets --jobs=1
--shared <SHARED>
[experimental] Install tool(s) to a shared directory
Installs to the specified directory instead of the default install location. May require elevated permissions depending on the path.
--system
[experimental] Install tool(s) to the system-wide shared directory
Installs to /usr/local/share/mise/installs (or MISE_SYSTEM_DATA_DIR/installs). May require elevated permissions (e.g. sudo).
Examples:
mise install node@20.0.0 # install specific node version
mise install node@20 # install fuzzy node version
mise install node # install version specified in mise.toml
mise install # installs everything specified in mise.toml