Skip to content

Release binary

WorktreeOS can be compiled into a single standalone executable with Bun’s --compile. The binary embeds the CLI, the daemon, the workspace packages, and the web UI, so running it requires neither Bun, nor apps/web/dist, nor the source checkout.

Terminal window
bun run build:binary

This produces dist/wos via bun --compile.

  • The CLI entry point (apps/cli).
  • The daemon and all workspace packages (packages/*).
  • The built web UI.

Because the web UI is embedded, wos web works from the binary without a separate bun run build:web step.