jdx/mise · error
tool ' ' requires configured install dependency ' ', but…
Error message
tool '{}' requires configured install dependency '{}', but its selected version is not installed
hint: Run `mise install {}` before installing '{}'. Remove the dependency from configuration to allow the install hook to rely on system PATH instead. What it means
Raised when a tool's configured install dependency declares a specific version that is not currently installed, so the install hook for the dependent tool cannot rely on it. Mise tells you to install the dependency version first, or to remove the dependency so the hook falls back to system PATH.
Solutions
- Run `mise install <dependency>` first (the hint command), then install the tool again
- Run plain `mise install` to install everything in config including dependencies
- Remove the dependency from the tool's configuration if the hook can rely on system PATH
- In CI, add a step installing dependency tools before the dependent tool
Example fix
// before mise install terraform // after mise install opentofu mise install terraform
Defensive patterns
Strategy: validation
Validate before calling
# before installing the dependent tool mise ls <dependency> || mise install <dependency>
Prevention
- Run plain `mise install` (installs all configured tools incl. dependencies) instead of per-tool installs
- Keep dependency tools listed in the same mise.toml
- In CI, install the full toolset before per-tool steps
When it happens
Trigger: Installing tool A whose config declares dependency tool B at a selected version that has no installed copy on the machine (e.g. `mise install terraform` when its configured dependency `opentofu@1.x` is not installed).
Common situations: Fresh clone on a new machine where only some tools are listed for install; config was edited to add a dependency but `mise install` hasn't been run for it; CI installs one tool without its dependencies.
Understand the failure class
Background: "not installed", "pip install", "required for": how missing-dependency errors surface across open-source libraries — this error's family across 34 libraries.
Related errors
- failed to resolve configured install dependency
- mise version is required, but you are using
- a provided source resolves to a path
- additional asset ' ' is not an archive
- agent ' ' `start_calendar_interval. ` must be between and
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/75a1306a62d61ea0.
Report an issue: GitHub.
Appendix: source
Thrown at src/install_context.rs:155
if !backend.is_version_installed(config, &dependency, true) {
let unresolved = !dependency.resolved_from_lockfile()
&& match &dependency.request {
ToolRequest::Prefix { .. } | ToolRequest::Sub { .. } => true,
ToolRequest::Version { version, .. } => {
version == "latest" || backend.is_rolling_channel(version)
}
ToolRequest::Ref { .. }
| ToolRequest::Path { .. }
| ToolRequest::System { .. } => false,
};
if unresolved {
bail!(
"failed to resolve configured install dependency '{}' for '{}' while offline",
dependency.request,
request
);
}
bail!(
"tool '{}' requires configured install dependency '{}', but its selected version is not installed\n\
hint: Run `mise install {}` before installing '{}'. Remove the dependency from configuration to allow the install hook to rely on system PATH instead.",
request,
dependency.request,
dependency.request,
request,
);
}
}
let paths = toolset.list_paths_strict(config, request).await?;
let context = Self {
declarations,
requests,
toolset,
paths,
};
debug_assert_eq!(context.requests.tools.len(), context.toolset.versions.len());
debug_assert!(View on GitHub (pinned to 533346cc37)