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 --to to customize the location.

Arguments

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

Options

  • --global (deprecated) - Pin to the global ~/.proto/.prototools instead of the local ./.prototools.
  • --to - Location of .prototools to update. v0.41.0