Skip to content

CLI usage

The simplest way to drive rodeo is from the shell.

In one terminal:

Terminal window
rodeo serve

This starts the rodeo server on localhost:44872 and waits for Studio to connect. Open Studio (any place) and the installed plugin connects automatically.

In another terminal:

Terminal window
rodeo run --source 'print("hi from studio")'

The script executes inside the connected Studio instance. Output streams back to your terminal.

You can also run a file:

Terminal window
rodeo run script.luau

rodeo run can launch Studio for you:

Terminal window
# Launch by published place ID
rodeo run --place 12345 --source 'return game.PlaceId'
# Launch a local .rbxl file
rodeo run --place ./my-place.rbxl script.luau

Studio launches in the background, the script runs, and Studio stays up so subsequent rodeo run commands hit the same instance.

See the full CLI reference for every subcommand and flag, or move on to Client usage for programmatic control from Luau.