跳转到内容

mise tool ​

  • 用法: mise tool [FLAGS] <TOOL>
  • 作用: 只读
  • 源代码: src/cli/tool.rs

显示工具信息

Shows the tool's backend, its description and project URL when known, the installed, active, and requested versions, the config file that requests it, its tool options, and the backend's security features. Pass a field flag such as --backend to print one field, or --json for all of them.

Arguments ​

  • <TOOL> — The tool, such as node or aqua:jqlang/jq

标志 ​

  • -J --json — 以 JSON 格式输出
  • --active — 仅显示活动版本
  • --backend — 仅显示后端字段
  • --config-source — 仅显示配置源
  • --description — 仅显示描述字段
  • --installed — 仅显示已安装版本
  • --requested — 仅显示请求的版本
  • --tool-options — 仅显示工具选项
  • --url — 仅显示注册表中的项目 URL
  • -h --help — 打印帮助

示例 ​

Show everything mise knows about node

mise tool node
Backend:            core:node
Installed Versions: 22.0.0 24.0.0
Active Version:     24.0.0
Requested Version:  24
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
Security:           checksum (sha256), gpg

Print only the backend

mise tool node --backend
core:node

相关文档 ​