Back to Moon

versions

website/docs/proto/commands/versions.mdx

2.3.31.2 KB
Original Source

import VersionLabel from '@site/src/components/Docs/VersionLabel';

<VersionLabel version="0.44.0" header />

The proto versions <tool> command will list available versions by resolving versions from the tool's remote release manifest. Furthermore, if a version has been installed locally, it will be denoted with a timestamp.

shell
$ proto versions node
...
22.0.0
22.1.0
22.2.0
22.3.0
22.4.0
22.4.1
22.5.0 - installed 12/25/24
22.5.1
22.6.0
22.7.0
22.8.0
22.9.0
22.10.0
22.11.0
22.12.0
23.0.0
23.1.0
23.2.0
23.3.0
23.4.0 - installed 12/19/24
23.5.0 - installed 12/25/24

Filtering versions<VersionLabel version="0.57.0" />

To narrow the list down to a specific range, pass a version requirement as the second argument. Only versions that satisfy the requirement will be displayed.

shell
$ proto versions node 24
$ proto versions node ">=22, <24"

Arguments

  • <tool> - Type of tool.
  • [filter] - Version range/requirement to filter the list by. <VersionLabel version="0.57.0" />

Options

  • --aliases - Include aliases in the list.
  • --installed - Only display installed versions.
  • --json - Print the versions and aliases in JSON format.