mise latest
- Usage:
mise latest [-i --installed] [--minimum-release-age <MINIMUM_RELEASE_AGE>] <TOOL@VERSION> - Effect: read-only
- Source code:
src/cli/latest.rs
Resolve 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.
Arguments
<TOOL@VERSION>— Tool to get the latest version of
Flags
-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 durationSupports absolute dates like "2024-06-01" and relative durations like "90d" or "1y". Overrides per-tool
minimum_release_ageoptions and the globalminimum_release_agesetting.-h --help— Print help
Examples
Resolve a Node 20 release, or the backend's latest stable release
mise latest node@20
mise latest nodeRestrict resolution to installed versions
mise latest node@20 --installedExclude releases newer than the requested age
mise latest node --minimum-release-age 30d