Skip to main content

restore

Reinstall a browser. Deletes the existing install first, then downloads and reinstalls.

Usage

pbvm restore [-b <browser>] [-i <buildId>] [-a <alias>]

Options

OptionShortDescription
--browser-bBrowser name: chrome, chromium, firefox
--build-id-iBrowser version
--alias-aBrowser alias

Execution flow

  1. Remove the existing Store binary + profile directory (equivalent to remove -f)
  2. Download and install the browser again (equivalent to create)
  3. 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