<!-- @generated by usage-cli from usage spec -->
# `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`](https://github.com/jdx/mise/blob/main/src/cli/plugins/install.rs)

Install a plugin

note that mise can automatically install plugins when you install a tool
e.g.: `mise install cmake@3.30` will autoinstall the cmake plugin

This behavior can be modified in ~/.config/mise/config.toml

## 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
```
