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
- Install and start Docker Desktop for Mac. Install Git if it is not already available.
- If Tessera should run a Playit agent for public servers, enable Settings → Resources → Network → Enable host networking in Docker Desktop 4.34 or newer.
- Open Terminal and run:
curl -fsSL https://lephor.com/tessera/install.sh | shOpen 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.
Linux
Open a terminal and run:
curl -fsSL https://lephor.com/tessera/install.sh | shOpen source: read install.sh on GitHub ↗. The file on lephor.com is the same script.
The installer asks which distribution you use and suggests the one it detects. It then installs Tessera as a package for it: Debian, Ubuntu, Linux Mint and Pop!_OS get a .deb; Fedora, RHEL, Rocky, AlmaLinux and openSUSE an .rpm; Arch, Manjaro and EndeavourOS a .pkg.tar.zst. It asks for your password and installs Docker, Docker Compose and Git if they're missing, so you don't need anything else first.
The package puts Tessera in /opt/tessera (settings in /opt/tessera/.env) and worlds, backups and the database in /var/lib/tessera. It builds and starts Tessera, which takes a few minutes the first time, and adds the tessera command:
sudo tessera status: is it running, and on which portsudo tessera setup-code: the code for creating your accountsudo tessera logs: follow the logssudo tessera start,stop,restart: start or stop the dashboardsudo tessera update: download the newest versionsudo tessera port 8080: move the dashboard to another portsudo tessera setup: set up again or repair, for example after a failed first start
Another distribution? Install Docker Engine with the Compose plugin and Git, make sure your user can run docker info, then pick Something else in the installer. It then installs into your home folder, as on macOS.
Windows
- Install WSL 2 with a Linux distribution and Docker Desktop for Windows.
- In Docker Desktop, enable WSL integration for your distribution. If you want the managed Playit agent, also enable Settings → Resources → Network → Enable host networking (Docker Desktop 4.34 or newer).
- In the WSL terminal, install Git and curl, confirm
docker infoworks, and run:
curl -fsSL https://lephor.com/tessera/install.sh | shOpen source: read install.sh on GitHub ↗. The file on lephor.com is the same script.
Pick Something else when the installer asks for your distribution (it suggests it in WSL): the Linux packages would install a second Docker next to Docker Desktop. Use a path inside your WSL home directory for the installation and server data, and open the dashboard at http://localhost:3000 in your Windows browser.
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.
.env and data stay where they are.