
Rojo for Roblox: Script in VS Code and Sync to Studio
Set up Rojo for Roblox: install with Rokit or the VS Code extension, add the Studio plugin, run rojo serve, click Connect, then build place files.
Image: Emergency Response: Liberty County by Police Roleplay Community (Roblox)
On this page9
To use Rojo with Roblox, install the Rojo CLI (with Rokit) or the Rojo VS Code extension, install the Rojo Studio plugin, run rojo serve in your project folder, then click Connect in the Rojo plugin inside Studio. Your .luau files now sync into Studio as scripts while you edit them in any editor. Rojo can also build a full place file with rojo build.
Quick facts
- Made by
- Community (not Roblox)
- Latest release
- v7.7.1, Oct 2, 2026 (checked Nov 25, 2026)
- Install
- Rokit, VS Code extension, GitHub binary, cargo
- Cost
- Free and open source
- Cannot sync
- Terrain (binary data)
What Rojo does and why people use it

Rojo takes a file-system-first approach. Your scripts live as plain files on your computer, a small local server watches them, and a Studio plugin pulls changes into the open place. Roblox’s own docs describe it as a community tool that Roblox does not maintain, so treat rojo.space as the source of truth for its behavior.
The reasons people switch:
- Git. Files on disk mean real version control, branches and pull requests, which matters once more than one person writes code.
- Your editor. VS Code, Cursor or any other editor, with their extensions and AI helpers.
- AI coding tools. Agents in Cursor or Claude Code are built to edit files in a folder. Rojo gives them one.
If you are still learning, you do not need Rojo yet. The Studio Script Editor is fine for your first games, and our scripting tutorial starts there.
Step 1: install Rojo
There are two routes, per the rojo.space installation page.
The VS Code extension installs and runs Rojo for you. Note that it does not add rojo to your PATH, so terminal commands will not work with it alone.
The CLI is the other route. Rojo’s in-house toolchain manager is Rokit:
rokit add rojo-rbx/rojo
rokit install
You can also download a binary for Windows, macOS or Linux from Rojo’s GitHub Releases, or run cargo install rojo --version ^7 if you have Rust installed. Older tutorials mention Aftman. The current install page names Rokit, so we use that.
Step 2: install the Studio plugin
Pick one:
- Run
rojo plugin installfrom the CLI. - Download the
.rbxmfrom GitHub Releases and drop it in your Studio Plugins Folder. - Install the Rojo 7 plugin from its Roblox.com page with Install.
Use one plugin per major version, and keep the plugin and CLI on the same major version (7).

Step 3: start a project and connect
Create a project folder and initialize it with rojo init. Rojo reads a project file, default.project.json, that maps folders on disk to places in the Roblox data model. A minimal one looks like this:
{
"name": "my-game",
"tree": {
"$className": "DataModel",
"ReplicatedStorage": {
"Shared": { "$path": "src/shared" }
},
"ServerScriptService": {
"Server": { "$path": "src/server" }
},
"StarterPlayer": {
"StarterPlayerScripts": {
"Client": { "$path": "src/client" }
}
}
}
}
That layout follows Roblox’s recommended split: server code in ServerScriptService, client code per player, and shared ModuleScripts in ReplicatedStorage.
Then:
- In a terminal in the project folder, run
rojo serve. - Open your place in Studio.
- Open the Rojo plugin and click Connect.
- Edit a file in
src/server. The change shows up in Studio’s Explorer.
Common problems
If Connect fails, check that rojo serve is still running in your terminal and that the plugin and CLI share the same major version. If scripts appear in the wrong place, the folder mapping in default.project.json is the first thing to read, since every $path points at a folder relative to the project file. If a script you edited in Studio reverted, it was inside a Rojo-managed folder, which is expected behavior.
Building place files
rojo build default.project.json -o build/place.rbxl writes a complete place file from your project. This is useful for CI or for sharing a clean build. Terrain is binary and cannot live-sync, so keep terrain and hand-built maps in a place you open in Studio, and let Rojo manage code.

Rojo vs Roblox’s Script Sync
Roblox now has its own option. Script Sync is a beta: turn it on under File › Beta Features, save and restart Studio, then right-click a service in the Explorer and choose Script Sync › Sync to and pick your project folder. .luau files then appear as scripts. Roblox’s “Build with a coding harness” guide uses this with VS Code or Cursor and Git.
Choose Script Sync if you want something official with no extra install. Choose Rojo if you want project files, place builds and the large set of community tools built around it. Either way, Roblox notes that MCP can reach areas Script Sync cannot, such as StarterGui and StarterPack.
Rojo with AI editors
A Rojo folder is a normal code project, so AI editors work well on it. Open the folder in Cursor, or run Claude Code in it, and ask for changes across many files. Review the diff in Git before it syncs into Studio. For edits that need to see live objects in your place, add the Studio MCP server alongside. More on prompts and checks in our AI script generator guide.
Cursor
CodeOpens a Rojo project folder and edits many Luau files at once.
- Free tier
GitHub Copilot
CodeAdds Luau completions in VS Code while you work in a Rojo project.
- Free tier
- Pro $10/mo (checked Nov 2026)
Rojo FAQ
Is Rojo made by Roblox?
No. Roblox's docs describe Rojo as a community tool that Roblox does not maintain. Roblox's own file-sync option is the Script Sync beta.
How do I install Rojo?
Either install the Rojo VS Code extension, or install the CLI with Rokit (rokit add rojo-rbx/rojo, then rokit install), a GitHub Releases binary, or cargo install rojo --version ^7. Then install the matching Studio plugin.
What is the latest version of Rojo?
The latest release on GitHub when we checked on November 25, 2026 was v7.7.1, published October 2, 2026.
Can Rojo sync terrain?
No. Roblox's docs note that terrain is binary data and cannot live-sync through Rojo, so build terrain in Studio.
Do I need Rojo to use AI coding tools with Roblox?
No. You can connect AI apps straight to Studio with the built-in MCP server. Rojo helps when you want scripts as files in Git that tools like Cursor can edit.






