docs/cli/latest.md
mise latestmise latest [-i --installed] [--minimum-release-age <MINIMUM_RELEASE_AGE>] <TOOL@VERSION>src/cli/latest.rsResolve the latest matching version request for a tool
Supports prefixes such as node@20. The selected backend decides how channels,
refs, and non-SemVer versions resolve; "latest" is not a generic sort of strings.
This prints a version without installing it or changing configuration.
<TOOL@VERSION> — Tool to get the latest version of-i --installed — Show latest installed instead of available version
--minimum-release-age <MINIMUM_RELEASE_AGE> — Only consider versions released before this date or older than this duration
Supports absolute dates like "2024-06-01" and relative durations like "90d" or "1y".
Overrides per-tool minimum_release_age options and the global minimum_release_age setting.
-h --help — Print help
Resolve a Node 20 release, or the backend's latest stable release
mise latest node@20
mise latest node
Restrict resolution to installed versions
mise latest node@20 --installed
Exclude releases newer than the requested age
mise latest node --minimum-release-age 30d