Install command
Use install to add a managed browser runtime into the Extension.js cache.
This is most useful when you want a deterministic browser binary for dev, build, start, or preview, especially for Chrome for Testing, Chromium, Firefox, or Edge.
Canonical usage
For a single browser, use the positional form:
Use --browser only when you need multiple targets, browser families, or all.
What install does
Usage
Arguments and flags
Examples
Install Chrome for Testing
Install multiple targets in one command
Show the managed install path for Chrome
Cache locations
By default, Extension.js stores managed browsers in a stable per-user cache:
- macOS:
~/Library/Caches/extension.js/browsers - Linux:
~/.cache/extension.js/browsersor$XDG_CACHE_HOME/extension.js/browsers - Windows:
%LOCALAPPDATA%\extension.js\browsers
You can override the cache root with EXT_BROWSERS_CACHE_DIR.
Notes
chromeinstalls Chrome for Testing rather than relying on the system Google Chrome app.edgemay require a privileged interactive session on Linux.installonly manages browsers inside the Extension.js cache. It does not modify system browser installs.
