Skip to main content

alias

Set an alias for a browser, making it easier to reference later.

Usage

pbvm alias [-p <platform>] [-t <target>]

Options

OptionShortDescription
--platform-pTarget platform; no filter if not specified
--target-tBrowser identifier: {browser}@{buildId} or an existing {alias}

Description

Aliases are stored in browserlist.json. Once set, the following commands accept the alias in place of browser@buildId:

  • pbvm open -t <alias>
  • pbvm alias -t <alias> (modify an existing alias)

Aliases are not supported by:

  • pbvm remove — aliases can be duplicated; to avoid accidental deletion, only browser@buildId is accepted
  • pbvm create
  • pbvm info
  • pbvm restore

Examples

# Set an alias for chrome@134.0.6998.35
pbvm alias -t chrome@134.0.6998.35

# Modify an existing alias
pbvm alias -t my-chrome

# Interactive mode (select a browser from the list, then set the alias)
pbvm alias

Notes

  • Aliases can only be modified, not deleted by setting them to an empty string
  • Duplicate aliases are allowed, but only the first match is used on launch — keep aliases unique
  • Alias modification is an in-place replacement; it does not create a new record