alias
Set an alias for a browser, making it easier to reference later.
Usage
pbvm alias [-p <platform>] [-t <target>]
Options
| Option | Short | Description |
|---|---|---|
--platform | -p | Target platform; no filter if not specified |
--target | -t | Browser 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, onlybrowser@buildIdis acceptedpbvm createpbvm infopbvm 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