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
initscaffolds a runnable starter app in the current directory.devstarts the Bun dev launcher, hot child, WebSocket reload channel, and browser bundle watch.buildcreatesdist/.startruns the built app in production mode.
Rules
- Run
initin an empty directory unless you intentionally want to merge into existing files. buildexpects route scanning and client entry generation to succeed first.startshould point at built assets, not live source files.
Related APIs
Next step
Add confidence with the testing approach in Testing.