Install from source
Hostwright 0.0.2-dev is not production ready.
Requirements
Section titled “Requirements”- Apple silicon Mac.
- macOS 26 or newer for the current package target.
- Swift 6.2-compatible toolchain.
- Apple
containeronly for live runtime commands. - Git.
Build and verify
Section titled “Build and verify”git clone https://github.com/hostwright/hostwright.gitcd hostwrightswift buildswift testscripts/integration.shswift run hostwright --versionswift run hostwright capabilities --jsonExpected development version:
0.0.2-devDo not check out a v0.0.2 tag until the GA gate exists and passes.
Try the current safe surface
Section titled “Try the current safe surface”swift run hostwright initswift run hostwright validateswift run hostwright plan --output jsonswift run hostwright doctor --output jsonRuntime-backed/state-writing commands require Apple container as applicable
and an explicit database path:
swift run hostwright status --state-db /tmp/hostwright.sqliteswift run hostwright logs api --state-db /tmp/hostwright.sqliteswift run hostwright events --state-db /tmp/hostwright.sqliteswift run hostwright cleanup --state-db /tmp/hostwright.sqlite --dry-runThe current checkout is not an installed package, and deleting it is not a Hostwright uninstall. Phase 02 implements ownership-aware install, upgrade, rollback, repair, and uninstall; until then preserve or clean runtime/state resources explicitly.
