Rogen IconRogen
Guides

Luau

Step-by-step setup guide for a Luau project.

Rogen builds Luau projects directly. Rogen reads the source directory and generates the project file automatically.

Create the Configuration file

Generate a .rogen.json configuration file. Run the initialization command in the project root:

rogen init

The configuration file instructs Rogen to scan the src folder and output a default.project.json file using the luau build mode.

Start Watching

Run Rogen in watch mode. Rogen builds the project file and updates the map automatically upon file changes.

rogen watch

Sync with Rojo

Open a separate terminal window. Start Rojo using the generated project file.

rojo serve

On this page