Install from source
Hostwright is in active development and 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 --jsonThis prints the current development version. There is no release tag to check out yet; build from the default branch.
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 a source tree, not an installed package. Managed install, upgrade, rollback, repair, and uninstall are planned. Until then, preserve or clean runtime and state resources explicitly.
