Back to Mise

`mise latest`

docs/cli/latest.md

2026.9.21.6 KB
Original Source
<!-- @generated by usage-cli from usage spec -->

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 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

Examples

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
<!-- generated reference navigation -->