Command chooser
| Goal | Command | Example |
|---|---|---|
| Scaffold a new project | create | npx extension@latest create my-extension --template=new-react |
| Develop with watch mode | dev | extension dev --browser=firefox |
| Build production artifacts | build | extension build --browser=chrome,firefox --zip |
| Build and launch production output | start | extension start --browser=edge |
| Launch existing build output only | preview | extension preview --browser=chrome |
| Install a managed browser runtime | install | extension install chrome |
| Remove a managed browser runtime | uninstall | extension uninstall chrome |
Typical developer flow
createto scaffold.devfor iterative coding and reload cycles.buildfor production artifacts.previeworstartfor production-like validation.installoruninstallwhen you need to manage Extension.js browser runtimes explicitly.
Command references
Next steps
- Apply cross-command controls in Global flags.
- Keep defaults centralized in Extension configuration.

