restore
Reinstall a browser. Deletes the existing install first, then downloads and reinstalls.
Usage
pbvm restore [-b <browser>] [-i <buildId>] [-a <alias>]
Options
| Option | Short | Description |
|---|---|---|
--browser | -b | Browser name: chrome, chromium, firefox |
--build-id | -i | Browser version |
--alias | -a | Browser alias |
Execution flow
- Remove the existing Store binary + profile directory (equivalent to
remove -f) - Download and install the browser again (equivalent to
create) - Update the record in
browserlist.json
Examples
# Reinstall Chrome
pbvm restore -b chrome -i 134.0.6998.35
# Reinstall with a new alias
pbvm restore -b firefox -i stable_136.0.0 -a dev-firefox
# Interactive mode
pbvm restore
Use cases
- Browser installation is corrupted — needs a clean reinstall
- Upgrade to a new build of the same version (restore triggers a fresh download)
- Switch aliases or reset browser configuration