{"record":{"id":"0b501f14473d5ce4","repo":"jdx/mise","slug":"tool-not-found-in-registry-name","errorCode":null,"errorMessage":"tool not found in registry: {name}","messagePattern":"tool not found in registry: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/cli/registry.rs","lineNumber":96,"sourceCode":"    short: String,\n    backends: Vec<String>,\n    bins: Vec<String>,\n    description: Option<String>,\n    aliases: Vec<String>,\n}\n\nimpl Registry {\n    pub(crate) async fn run(self) -> Result<()> {\n        if let Some(name) = &self.name {\n            if let Some(rt) = REGISTRY.get(name.as_str()) {\n                if self.json {\n                    let tool = to_output(self.output_args(name, rt), self.security).await;\n                    miseprintln!(\"{}\", serde_json::to_string_pretty(&tool)?);\n                } else {\n                    miseprintln!(\"{}\", self.filter_backends(rt).join(\" \"));\n                }\n            } else {\n                bail!(\"tool not found in registry: {name}\");\n            }\n        } else if self.complete {\n            self.complete()?;\n        } else if self.json {\n            self.display_json().await?;\n        } else {\n            self.display_table()?;\n        }\n        Ok(())\n    }\n\n    fn filter_backends(&self, rt: &RegistryTool) -> Vec<&'static str> {\n        if let Some(backend) = &self.backend {\n            rt.backends()\n                .into_iter()\n                .filter(|full| full.starts_with(&format!(\"{backend}:\")))\n                .collect()\n        } else {","sourceCodeStart":78,"sourceCodeEnd":114,"githubUrl":"https://github.com/jdx/mise/blob/533346cc374382b41ec5ff70536252b2e96e725c/src/cli/registry.rs#L78-L114","documentation":"`mise registry <name>` did not find the given tool name in the compiled-in tool registry (REGISTRY map of shorthand names). The name is either misspelled, not short-handed in mise, or only accessible via a full backend syntax like aqua:owner/repo.","triggerScenarios":"`mise registry some-tool` where some-tool has no registry entry; typos; tools installed only via explicit backend syntax (aqua:, cargo:, npm:) which have no shorthand.","commonSituations":"Querying internal/company tools not submitted to the registry; misspelled tool names; expecting registry entries for every installable backend.","solutions":["Check spelling: `mise registry --complete` or partial lookup to list valid names","Install without registry shorthand using explicit backend syntax: `mise use aqua:owner/repo` (or github:, cargo:, npm:, ...)","Add a registry entry via PR if the tool is widely used (high popularity bar)"],"exampleFix":"// before\n$ mise registry mytool\nmise tool not found in registry: mytool\n// after\n$ mise use aqua:some-org/mytool   # explicit backend, no registry entry needed","handlingStrategy":"validation","validationCode":"mise registry --complete | grep -qx \"$TOOL\" || echo \"$TOOL has no registry shorthand; use explicit backend syntax\"","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Verify names with `mise registry` before scripting around them","Use explicit backend syntax (aqua:, github:, cargo:, npm:) for unlisted tools","Keep tool name spellings from mise.lock/tool-versions as source of truth"],"tags":["registry","tool-lookup","resource-not-found","mise"],"backgroundTag":"resource-not-found","analyzedSha":"533346cc374382b41ec5ff70536252b2e96e725c","analyzedAt":"2026-09-17T13:35:38.149Z","contentChangedAt":"2026-09-17T13:35:38.149Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}