ReferenceTooling
Edit this page

Tooling

rbssr CLI Reference

Use rbssr commands to initialize, develop, build, and preview a Bun-native SSR application.

clirbssrcommands

The rbssr CLI is intentionally small. Each command maps directly to a framework lifecycle step.

Commands

rbssr init
rbssr dev
rbssr build
rbssr start

What they do

  • init scaffolds a runnable starter app in the current directory.
  • dev starts the Bun dev launcher, hot child, WebSocket reload channel, and browser bundle watch.
  • build creates dist/.
  • start runs the built app in production mode.

Rules

  • Run init in an empty directory unless you intentionally want to merge into existing files.
  • build expects route scanning and client entry generation to succeed first.
  • start should point at built assets, not live source files.

Next step

Add confidence with the testing approach in Testing.