CLI
The irtio CLI scaffolds, runs, tests, and deploys your room. Run any command
with --help for full flags.
npx irtio <command> [options] Commands
| Command | Does |
|---|---|
init | Scaffold irtio/ and a passing test into the current project |
dev | Run the room locally with hot reload; prints the join URL |
test | Run room tests with simulated players |
deploy | Type-check, test, and promote the room to an environment |
releases | List deployed versions |
rollback <ver> | Instantly revert to a previous version |
secrets | Set / list / remove environment secrets |
migrate | Scaffold and apply a schema migration |
logs | Tail room logs for an environment |
Common flags
| Flag | Applies to | Meaning |
|---|---|---|
--env <name> | deploy, logs, secrets | target environment (default production) |
--watch | test | re-run on file change |
--seed <n> | test | fix the simulation seed |
--json | most | machine-readable output for CI and agents |
Examples
npx irtio init
npx irtio dev
npx irtio test --watch
npx irtio deploy --env staging
npx irtio rollback v41 Next steps
Placeholder reference.