jdx/mise · error · eyre::Report
unknown bootstrap package manager
Error message
unknown bootstrap package manager '{name}' — install a package plugin: mise plugin install package:{name} <url> What it means
mise resolves bootstrap package manager names (apk, apt, brew, aur, ...) against a compiled-in registry. When a config references a manager name that has no built-in backend and strict mode is enabled, this bail fires telling the user a package plugin must be installed instead.
Solutions
- Check the manager name for typos against the managers mise supports
- Install a package plugin: mise plugin install package:<name> <url>
- Remove or correct the bootstrap package manager entry in mise.toml
Example fix
# before (mise.toml) [bootstrap.packagemanagers] aptt = "*" # after [bootstrap.packagemanagers] apt = "*"
Defensive patterns
Strategy: validation
Validate before calling
let known = ["apk","apt","brew","aur","dnf","pacman","yum","portage","pkg","choco","winget","scoop","npm","cargo","pipx","gem","go"]; // verify against mise's registry
if !known.contains(name) { eprintln!("{name} is not a built-in bootstrap manager; install a package plugin"); } Prevention
- Keep bootstrap manager names in one validated constant list
- Run `mise config lint` / dry-run configs before applying them
- Only copy bootstrap sections between machines with the same mise build
When it happens
Trigger: A mise.toml bootstrap section (or package manager config) names a manager that has no registry entry and no installed `package:*` plugin, while running in strict mode.
Common situations: Typo'd manager name in mise.toml; using a manager on a machine where the mise build excludes it; copying a config from a machine with a custom package plugin installed.
Understand the failure class
Background: Invalid enum value errors: "Unknown type", "Invalid scope", "must be one of" — when a string is not on the library's allowed list — this error's family across 23 libraries.
Related errors
- brew: tapped formula
- conflicting bootstrap service declarations for
- dotfile target must be absolute or start with ~/
- managed path ' ' notifies unconfigured bootstrap service
- managed path ' ' notifies unconfigured bootstrap service
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/e456edd04eab0245.
Report an issue: GitHub.
Appendix: source
Thrown at src/system/mod.rs:1963
for (name, requests) in by_mgr {
let disabled = enabled.as_ref().is_some_and(|e| !e.contains(&name));
if disabled && strict {
bail!(
"manager '{name}' is excluded by the system_packages.managers setting \
(currently: {})",
enabled.as_deref().unwrap_or_default().join(", ")
);
}
match managers.get(&name) {
Some(manager) => out.push(ManagerPackages {
manager: manager.clone(),
requests,
options: manager_options.shift_remove(&name).unwrap_or_default(),
disabled,
}),
None => {
if strict {
bail!(
"unknown bootstrap package manager '{name}' — install a package plugin: mise plugin install package:{name} <url>"
);
}
// brew is compiled out on Windows — not unknown, just
// unsupported there
if cfg!(windows) && name == "brew" {
debug!("system package manager 'brew' is not supported on windows");
} else if crate::config::is_loaded()
&& plugins_from_config(&crate::config::Config::get_()).contains_key(&name)
{
warn!(
"unknown bootstrap package manager '{name}' in [bootstrap.packages] — declared in [bootstrap.plugins] but not installed; run `mise bootstrap`"
);
} else {
warn!(
"unknown bootstrap package manager '{name}' in [bootstrap.packages], ignoring — install a package plugin: mise plugin install package:{name} <url>"
);
}View on GitHub (pinned to 533346cc37)