Skip to main content

alias

The proto alias <tool> <alias> <version> (or proto a) command will define a custom alias that maps to a specific version for the provided tool. Aliases can be used anywhere a version is accepted.

$ proto alias node work 16.16

By default this will update the local ./.prototools file. Pass --global to update the global ~/.proto/.prototools file instead.

$ proto alias yarn berry 4 --global

Arguments

  • <tool> - Type of tool.
  • <alias> - Name of the alias. Supports alphanumeric chars.
  • <version> - Version to map to the alias.

Options

  • --global - Pin to the global ~/.proto/.prototools instead of the local ./.prototools.