mise plugins install
- Usage:
mise plugins install [FLAGS] [NEW_PLUGIN] [GIT_URL] - Aliases:
i,a,add - Effect: modifies state
- Source code:
src/cli/plugins/install.rs
Install a plugin
Note that mise installs plugins automatically when you install a tool that needs one, e.g.: mise install cmake@3.30 installs the cmake plugin first. This command is only needed to install a plugin ahead of time or from a custom git URL.
Arguments
[NEW_PLUGIN]— The name of the plugin to install e.g.: cmake, poetry Can specify multiple plugins:mise plugins install cmake poetry[GIT_URL]— The git url of the plugin
Flags
-a --all— Install all missing plugins This will only install plugins that have matching shorthands. i.e.: they don't need the full git repo url-f --force— Reinstall even if plugin exists-j --jobs <JOBS>— Number of jobs to run in parallel Values below 1 are treated as 1-v --verbose— Show installation output-h --help— Print help
Examples:
# install the poetry via shorthand
$ mise plugins install poetry
# install the poetry plugin using a specific git url
$ mise plugins install poetry https://github.com/mise-plugins/mise-poetry.git
# install the poetry plugin using the git url only
# (poetry is inferred from the url)
$ mise plugins install https://github.com/mise-plugins/mise-poetry.git
# install the poetry plugin using a specific ref
$ mise plugins install poetry https://github.com/mise-plugins/mise-poetry.git#11d0c1e