Lesson 3 of 4
Set up your machine, part 1: Studio, an editor and Git
Install Roblox Studio, verify Visual Studio Code and Git from Before you start, and prepare your local Beacon Yard game repository.
By the end you can
- Install Roblox Studio on Windows or macOS and confirm it opens a Baseplate signed in
- Verify your VS Code and Git installs from Before you start (or install them if you skipped module -1)
- Make sure your local Beacon Yard repository is ready with the 15 core milestone tags from m00-baseplate through m14-ship
Before this: What Roblox is: experiences, places, Creator Hub and the economy, The terminal from zero (PowerShell and macOS Terminal)
1Where these three lessons end
By the end of part 3 you will save a file in your editor and watch Studio change less than a second later. Professional Roblox teams work this way: code lives in files, Git tracks every change, and a sync tool copies the files into Studio.
The setup is split into three parts of about 25 minutes each:
- This part: install Roblox Studio, check the editor and Git you set up in Before you start, then make sure you have a copy of the game.
- Part 2: Rokit, which installs the command-line tools the game pins, then Rojo and its Studio plugin, Wally, StyLua, Selene and the Luau language server.
- Part 3: connect everything, press Play, and prove the loop works. Blender and Node.js are optional extras there.
Every tool gets the same four things: the command to install it on Windows and on macOS, a command that proves it worked, its approximate size on disk, and how to remove it. Sizes are rough. They change with every release.
Commands for Windows run in PowerShell (Start menu, type PowerShell). Commands for macOS run in Terminal (Spotlight, type Terminal). If those words are new, do the terminal lesson in Before you start first.
Put the setup in the order these lessons use.
Answer
1. Install Studio, an editor and Git 2. Clone the game repository 3. Install Rokit and the tools it pins 4. Connect Rojo to Studio and press Play. You need Git before you can clone, and the clone before Rokit can read rokit.toml. Rojo can only connect once the tools are installed.
Open this step in lesson mode · Link to this step · This confused me
2Roblox Studio
Studio is free and runs on Windows and macOS. Roblox lists Windows 10 or macOS 10.14 and 3 GB of memory as the minimum, and Windows 11 or macOS 14 with 8 GB as recommended1. Take the recommendation seriously: a playtest runs a server and a client inside Studio at once, so it uses more memory than editing.
Those are Studio requirements. On a Mac, check the VS Code requirements and Homebrew requirements before following the toolchain steps. If your Mac meets Studio's requirements but falls outside Homebrew support, use the direct installer below for Studio-only work.
Install. Go to create.roblox.com, sign in, and choose to start creating; the page offers Download Studio. Run RobloxStudio.exe on Windows or open RobloxStudio.dmg on macOS, then sign in with your Roblox account. If you prefer a package manager and your system meets its requirements:
# Windows (winget's community package)
winget install --id Roblox.RobloxStudio -e
# macOS (Homebrew)
brew install --cask robloxstudio
Verify. Studio opens, you are signed in, and New, then Baseplate, opens a grey floor in the viewport.
Size. About 1.2 GB on disk. Studio updates itself: when an Update button appears in the top-right corner, it saves, closes and restarts. Every game runs on the latest engine, so stay current.
Remove. Windows: Settings, Apps, Installed apps, Roblox Studio, Uninstall. macOS: quit Studio and move it from Applications to the Bin.

Select a numbered pin, or a row below, to read what it marks.
A fresh Baseplate. If you see this, Studio works.
Your laptop has 4 GB of memory. Studio opens and edits fine, but it slows to a crawl when you press Play. Why?
Answer
Play runs a server and a client inside Studio, which needs more memory than editing. A solo Play starts a server simulation and a client simulation in the same app. 4 GB is above the 3 GB minimum but well below the recommended 8 GB.
Open this step in lesson mode · Link to this step · This confused me
3Verify your code editor
If you finished A code editor from zero: VS Code and Cursor, VS Code (or Cursor) and the Luau Language Server extension are already installed. Do not reinstall them; run this checklist to confirm your terminal can reach the editor:
- Open a new terminal window and run
code --version. It should print a version number such as1.x.y. - On macOS, if
codeis not found, open VS Code, press Cmd+Shift+P and run Shell Command: Install 'code' command in PATH.
Go deeper Skipped module -1? Install VS Code here
Download VS Code from code.visualstudio.com, or install it from the terminal:
# Windows
winget install --id Microsoft.VisualStudioCode -e
# macOS
brew install --cask visual-studio-code
Then open a new terminal and check code --version.
Size. About 500 MB, plus extensions. Remove. Windows: winget uninstall --id Microsoft.VisualStudioCode. macOS: brew uninstall --cask visual-studio-code, or move the app to the Bin. Your settings stay in VS Code's user folder (%APPDATA%\Code\User on Windows, ~/Library/Application Support/Code/User on macOS) until you delete it, and your extensions stay in .vscode in your home folder.
Editors for Roblox code
| Option | What it is | When pros pick it | Trade-offs |
|---|---|---|---|
| VS Code | Microsoft's free editor with extensions such as Luau Language Server and Rojo. | The default in most Rojo teams and open-source Roblox projects. | Microsoft's build sends telemetry unless you turn it off. |
| Cursor | A fork of VS Code with AI features built in. VS Code extensions install the same way. | Developers who want AI help inside the editor. | Paid tiers for heavy AI use; your code is sent to an AI service when you use those features. |
| Studio's script editor | The editor inside Studio, with autocomplete, type checking and live collaborative editing. | Quick fixes, Team Create places without file sync, and learning your first lines. | Code lives in the place file, so Git and external linters need Script Sync or Rojo first. |
You just installed VS Code with winget, then ran code --version in the same PowerShell window and saw 'The term code is not recognized'. Why?
Answer
That PowerShell window read PATH before the install; a new terminal window will find code. A terminal copies PATH when it starts. The installer updated PATH for future windows, so opening a new terminal fixes it.
Open this step in lesson mode · Link to this step · This confused me
4Verify Git
If you finished Git from zero: commits, diffs, branches, undo, GitGitA version control tool that records every change to a folder of files.Think of it as save points, with branches as parallel save files. and your name and email are already configured. Confirm both in a terminal:
git --version
git config --global user.name
git config --global user.email
Each line should print a value (for example git version 2.x, your name and your email or GitHub noreply address).
Go deeper Skipped module -1? Install Git here
# Windows: Git for Windows, which also brings Git Bash
winget install --id Git.Git -e
# macOS: Apple's Command Line Tools include Git
xcode-select --install
# or, with Homebrew, a newer Git
brew install git
Then open a new terminal and set your identity once:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
Size. Git for Windows is about 430 MB. On macOS, the Command Line Tools are larger than Git alone, because they include compilers too.
Remove. Windows: winget uninstall --id Git.Git. macOS: brew uninstall git; the Command Line Tools live in /Library/Developer/CommandLineTools and can be deleted with sudo rm -rf on that folder, which you should only do if no other tool needs them.
Both sidesRemember: Git commits and branches is save points and a parallel save file.
Which of these does Git give a Roblox team that saving the place file does not?
Answer
A line-by-line diff of every code change; A way to return the code to any earlier milestone; Review of a change before it joins the main branch. Git diffs, restores and reviews text such as Luau files. Terrain and hand-built parts are binary data inside the place file, which Git cannot merge.
Open this step in lesson mode · Link to this step · This confused me
5Check or clone the game
If you forked and cloned beacon-yard in GitHub: fork, clone, push, pull requests, CI checks, your copy already lives at ~/Code/beacon-yard and points origin at your fork. Do not run mkdir Code or git clone again; open that folder and check its tags:
cd ~/Code/beacon-yard
git fetch --tags upstream
git tag --list 'm*'
If you skipped module -1 (or skipped GitHub because you are under 13), pick a short local folder such as Code in your home folder, avoid cloud-synced folders, and clone Beacon Yard now:
cd ~
mkdir Code
cd Code
git clone https://github.com/ReimagineMedias/beacon-yard.git
cd beacon-yard
git tag --list 'm*'
git tag --list 'm*' lists matching tags. Look for the 15 core milestones from m00-baseplate through m14-ship. You can also see the advanced tags through m17-live-season. Each tag is a snapshot of the game. The main branch is the newest.
The file that matters for part 2 sits at the top of the clone. It names the exact version of every command-line tool the game uses:
[tools]
rojo = "rojo-rbx/rojo@7.5.1"
stylua = "JohnnyMorganz/StyLua@2.1.0"
selene = "Kampfkarren/selene@0.32.0"
wally = "UpliftGames/wally@0.3.2"
luau-lsp = "JohnnyMorganz/luau-lsp@1.70.1"
Build along
rokit.toml
Open a new terminal and run
git --version, thencode --version.You should see A version number prints for each: Git, then VS Code.
Either open your existing
~/Code/beacon-yardfork clone and fetch tags fromupstream, or clonebeacon-yardinto~/Code, then rungit tag --list 'm*'.You should see Inside Code/beacon-yard, git tag --list 'm*' includes all 15 core milestones from m00-baseplate through m14-ship.
From inside the clone, run
code .(the dot means "this folder").You should see VS Code opens the beacon-yard folder; the Explorer on the left shows src, tests, default.project.json and rokit.toml.
Open this step in lesson mode · Link to this step · This confused me
6What Git cannot do for a place
Where does it break?“Save points and a parallel save file” is a good picture of git commits and branches. Where does it stop being true?
It breaks here. Two save files can never be combined in a game, but Git merges branches line by line; and when the file is binary, such as a place file, Git cannot merge it at all and one version must win.
The true model. Git tracks text files as a history of commits. Branches diverge and merge; conflicting lines need a person to decide. Binary files have no lines, so teams keep code and the project file in Git and build the place from them.
That is why Beacon Yard keeps code and the project file in Git and treats the place file as something you build. Git ignores *.rbxl and *.rbxlx in this repository: you will create the place from the files in part 3.
Two people each hand-build a different corner of the same place and both commit the .rbxl file. What does Git do when the second person merges?
Answer
Reports a conflict it cannot resolve line by line, because the file is binary. A binary place file has no lines to merge. One person's version has to win. That is why teams keep code in Git and use Team Create or Packages for shared building.
Open this step in lesson mode · Link to this step · This confused me
7Challenges
Level 1, Apprentice
Challenge
Install Studio, confirm VS Code and Git answer cleanly, and check that your beacon-yard clone has the core milestone tags from m00-baseplate through m14-ship.
- Start from
- A computer running Windows 10 or later, or macOS 10.14 or later
Done means
- Studio opens a Baseplate while signed in
- git --version and code --version both print a version in a new terminal
- The beacon-yard folder exists and git tag --list 'm*' includes the 15 core milestones from m00-baseplate through m14-ship
Hints
- If a command is not found, close the terminal and open a new one.
- On macOS without Homebrew, install the code command from VS Code's command palette.
Where is the best place to clone Beacon Yard?
Answer
A short folder such as Code in your home folder. A short, local path avoids path-length and file-locking problems. Cloud sync tools can lock or duplicate files while Rojo and Git are writing them.
Level 2, Builder
Challenge
A Git worktree checks out a second folder linked to the same repository, so you can inspect an older milestone without disturbing your main folder. Add a worktree for m01-first-parts beside the clone (git worktree add ../yard-m01 m01-first-parts), list what changed since m00-baseplate, then remove the extra folder cleanly with git worktree remove ../yard-m01.
- Start from
- The beacon-yard clone
Done means
- A worktree of m01-first-parts exists next to your clone
- Your main clone is still on main
- You can name one file that differs between m00-baseplate and m01-first-parts
Hints
- git worktree add ../yard-m01 m01-first-parts
- git diff --stat m00-baseplate m01-first-parts
Open this step in lesson mode · Link to this step · This confused me
8Recap
Recap
- Check the requirements for Studio, VS Code and Homebrew separately on macOS. Use the direct Studio installer for Studio-only work if Homebrew is unsupported. Check Git and VS Code in a new terminal.
- A terminal opened before an install does not see the new program; open a new one.
- Git tracks text such as code and the project file; the place file is built from them, not committed.
Git commits and branches is save points and a parallel save file, until two save files can never be combined in a game, but Git merges branches line by line; and when the file is binary, such as a place file, Git cannot merge it at all and one version must win.
Queued for review
- Your laptop has 4 GB of memory. Studio opens and edits fine, but it slows to a crawl when you press Play. Why?
- You just installed VS Code with winget, then ran code --version in the same PowerShell window and saw 'The term code is not recognized'. Why?
- Which of these does Git give a Roblox team that saving the place file does not?
- Two people each hand-build a different corner of the same place and both commit the .rbxl file. What does Git do when the second person merges?
Next Set up your machine, part 2: Rokit, Rojo, Wally, StyLua, Selene and luau-lsp
Open this step in lesson mode · Link to this step · This confused me