Skip to content

Welcome to Colyseus

Getting started

Before we start, let's make sure we have the necessary system requirements instaled in your local machine.

Requirements:

Creating a barebones Colyseus server

Use the npm init colyseus-app command to generate a barebones Colyseus server. You may select between TypeScript (recommended), JavaScript and Haxe as your language of choice for the server.

npm init colyseus-app ./my-colyseus-app

From the official examples

Alternatively, you can check some examples in action by cloning the examples project and running it locally.

git clone https://github.com/colyseus/colyseus-examples.git
cd colyseus-examples
npm install

To run the server locally, run npm start, then open http://localhost:2567 to explore each example.

Presentation: Overview of how Colyseus works