rvy/rir3
sync studio output to cli and also allow studio code execution from cli
rir3
Execute Luau code inside Roblox Studio and see output in your terminal.
What it does
Run scripts in Roblox Studio from your command line. All Studio output (prints, warnings, errors) appears in your terminal with color coding.
Uses WebSockets to communicate between the CLI and Studio. rir3 once is functionally identical to run-in-roblox and can serve as a drop-in replacement.
Plans
File path + sourcemap reconciliation in execution for accurate stack traces Output timestamps + better output formatting Clickable output Output syncing (i.e. NexusSync) Cloud execution
Usage
One-off execution
Run a script once (no setup needed):
rir3 once demo/hello.luau
Optionally specify a place file:
rir3 once demo/hello.luau demo/Place.rbxlx
Persistent mode
For running multiple scripts without restarting Studio:
- Build the plugin (once):
rir3 build
- Start the server (terminal 1):
rir3 serve
- Execute scripts (terminal 2):
rir3 exec demo/hello.luau
Writing scripts
Scripts have full access to Studio APIs:
print("Hello from Studio!")
local part = Instance.new("Part")
part.Parent = workspace
warn("This is a warning")