For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getting Started

This guide walks you through everything you need to build and publish your first game on RUN.world: from installation to your first deploy.

Before you build, skim Runtime Environment to see what the platform provides and what isn't allowed inside a game.

1

Install Node.js

You'll need version 20 or higher.

Install Node.js

2

Install the RUN.world CLI

The RUN.world CLI is what you'll use to initialize, manage, and deploy your games.

MacOS / Linux

Open a Terminal and run:

curl -fsSL https://github.com/series-ai/rundot-cli-releases/releases/latest/download/install.sh | bash

Restart your Terminal after installation so it can find the CLI.

Windows

Open PowerShell and run:

irm https://github.com/series-ai/rundot-cli-releases/releases/latest/download/install.ps1 | iex
3

Verify installation

rundot --help

You should see a list of available commands. If not, see Troubleshooting.

4

Install the RUN.world SDK

From your project's root folder:

npm install @series-inc/rundot-game-sdk@latest

The SDK is updated frequently. To update it, simply re-run the command above.

5

Create your game project

You have two options: start from a template, or set up a project from scratch.

Option A: Start from a template

Templates make it easy to get started. Pick the one that fits your game:

2D game template (pixi.js)

3D game template (React)

2D - UI-heavy React game template

Unzip the template, open it in your code editor, and install dependencies:

npm install

Option B: Build from scratch

If you're an experienced developer and prefer setting up projects manually:

  1. Use relative file paths. When deployed, your game is served from a subdirectory. If you use Vite, add this to vite.config.js:

{
  base: './',
}
  1. Build to ./dist. The CLI looks for your build there by default. You can customize the build path if needed.

6

Initialize your game

From your project's root folder:

rundot init

This walks you through naming and configuring your game for the RUN.world platform. It creates a game.config.prod.json file that stores your game ID and build settings.

See Initializing Your Game for more details and manual options.

7

Test locally with Playground

Before deploying, run your game locally against the RUN.world playground backend:

npm run dev

For the full Vite config, dependency setup, sign-in flow, and multi-player testing instructions, see Testing Locally With Playground.

8

Deploy to RUN.world

Build and deploy your game:

npm run build
rundot deploy

You'll get a private link to share, playable by anyone who has it on web or in the RUN.world app. No one will find the game on the platform until you publish it.

See Deploying Your Game for publishing (making it public), versioning, and advanced options.

Updating the CLI

The CLI will alert you when a new version is available. To update manually:

rundot update

Last updated