jdx/mise · error

is a core plugin and does not need to be installed

Error message

{name} is a core plugin and does not need to be installed

What it means

mise ships several tools as built-in 'core' plugins (node, python, go, ruby, etc.). Running `mise plugins install <name>` for one of these is unnecessary and rejected outright, since core plugins need no external installation.

Solutions

  1. Just use the tool directly: `mise use node@22` installs the core plugin automatically
  2. Run `mise plugins ls` to see already-available core plugins
  3. If you truly want a custom plugin, use a different name than the core plugin

Example fix

// before
$ mise plugins install node
mise node is a core plugin and does not need to be installed
// after
$ mise use node@22
Defensive patterns

Strategy: validation

Validate before calling

if mise plugins ls | grep -qE "^node\s"; then echo 'node is a core plugin; use mise use node instead'; fi

Prevention

When it happens

Trigger: `mise plugins install node` (or python/go/etc.) without a git URL; the name matches a key of CORE_PLUGINS.

Common situations: Users following old asdf-style instructions; migrating from asdf where even core tools needed explicit plugin installs; muscle memory from `mise plugin add`.

Understand the failure class

Background: UnsupportedOperationException and "is not supported" errors: when a library deliberately refuses a call — this error's family across 30 libraries.

Related errors


AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17). Data as JSON: /api/errors/29dffd4cb1e885d5. Report an issue: GitHub.

Appendix: source

Thrown at src/cli/plugins/install.rs:82

    /// Show installation output
    #[usage(long, short, action = usage_rs::ArgAction::Count, verbatim_doc_comment)]
    verbose: u8,
}

impl PluginsInstall {
    pub(crate) async fn run(self, config: &Arc<Config>) -> Result<()> {
        let this = Arc::new(self);
        if this.all {
            return this.install_all_missing_plugins(config).await;
        }
        let (name, git_url) = get_name_and_url(&this.new_plugin.clone().unwrap(), &this.git_url)?;
        if git_url.is_some() {
            this.install_one(config, name, git_url).await?;
        } else {
            let is_core = CORE_PLUGINS.contains_key(&name);
            if is_core {
                let name = style::eblue(name);
                bail!("{name} is a core plugin and does not need to be installed");
            }
            let mut plugins: Vec<String> = vec![name];
            if let Some(second) = this.git_url.clone() {
                plugins.push(second);
            };
            plugins.extend(this.rest.clone());
            this.install_many(config, plugins).await?;
        }

        Ok(())
    }

    async fn install_all_missing_plugins(self: Arc<Self>, config: &Arc<Config>) -> Result<()> {
        let ts = ToolsetBuilder::new().build(config).await?;
        let missing_plugins = ts.list_missing_plugins();
        if missing_plugins.is_empty() {
            warn!("all plugins already installed");
        }

View on GitHub (pinned to 533346cc37)