Tessera / Installation

Install Tessera

Choose your device below. One command downloads Tessera from GitHub and starts it with Docker Compose; public access is set up in the dashboard afterwards. Tessera was called CSCM before; existing installations keep working.

macOS

  1. Install and start Docker Desktop for Mac. Install Git if it is not already available.
  2. If Tessera should run a Playit agent for public servers, enable Settings → Resources → Network → Enable host networking in Docker Desktop 4.34 or newer.
  3. Open Terminal and run:
curl -fsSL https://lephor.com/tessera/install.sh | sh

Open source: read install.sh on GitHub ↗. The file on lephor.com is the same script.

The installer asks one question: install with the defaults? Press Enter to install into ~/cscm, keep worlds and backups in ~/cscm-data and run the dashboard on port 3000. Answer n to choose other folders or another port.

Create your account

When it's done, the installer prints the dashboard address, usually http://localhost:3000, and a setup code. Open the dashboard, enter the setup code, create the administrator account, scan the QR code with your authenticator app and enter one current six-digit code. The setup code makes sure only someone who can read this machine's logs becomes the admin, not whoever on the network opens the page first.

Lost the setup code? It stays in the log until the account exists. Run sudo tessera setup-code (Linux packages), or:

cd ~/cscm && docker compose logs api | grep "Setup code"

Finish the setup in the dashboard

Right after your account is created, the dashboard asks who should be able to join your servers:

  • Only my local network: nothing else to set up.
  • Anyone, over the internet: enter your Playit.gg account, then either let Tessera run a Playit agent (create or claim one in the Playit Docker setup and paste its SECRET_KEY) or use an agent you already run. A custom domain through Cloudflare is optional.

Each step is saved as you go, so you can leave and continue later. The values are stored in the installation's .env. Change them any time with the settings button in the dashboard's top bar, or edit .env yourself and run docker compose restart api.

Want to check the installer before running it? Download it with curl -fsSL https://lephor.com/tessera/install.sh -o install.sh, read it, then run sh install.sh. To remove Tessera again later, follow the uninstall guide.

Installed it back when it was called CSCM? Nothing to do: Tessera updates itself from the dashboard, and the folders, .env and data stay where they are.
Next: using Tessera →