Skip to main content

Quick Start

This walks through creating a workspace, adding a project, and running it in Roblox Studio.

1. Create a workspace​

jafa init my-game
cd my-game

init asks what the first project should be called, then asks whether to run git init, rokit install, and wally install, and whether to create a shared common project. It scaffolds rokit.toml and wally/wally.toml, runs the tools you agreed to, and creates your first project (which is where default.project.json, selene.toml, and stylua.toml come from). See Workspaces for what's actually created.

To skip the questions, pass --yes and a name:

jafa init my-game --yes --name lobby

2. Add a project​

jafa new my-experience

This adds projects/my-experience, scaffolded with the standard client/server/shared/ui folder structure, and adds it to jafa.code-workspace so it shows up in VS Code. See Project structure for a full breakdown.

3. Build, open, and serve​

Run all three in order with one command:

jafa dev my-experience

dev builds the project with Rojo, opens the resulting .rbxl file in Roblox Studio, then starts rojo serve so Studio can sync live changes.

You can also run each step individually — see the CLI Reference.

4. Deploy​

Deploy a single project as its own experience:

jafa deploy my-experience -g 123456

Or deploy several projects as places in one experience, with universes:

jafa new-universe my-game
jafa deploy-universe my-game