Skip to content

Installer CLI

The installer is one binary per operating system that deploys the game server side only: the bridge plugin, and the sidecar with its service. It never contacts the website.

The walkthrough is Connect your game server, which hands off to each game’s steps. This page is the command surface.

CommandWhat it does
installSet up a game server's side: deploy the bridge plugin, install the sidecar, register its service
doctorDiagnose an existing install
updateMove to a newer bundle
uninstallRemove what install put there

doctor, update and uninstall are the day-two commands.

One binary serves both games. A flag says which one a run is about, and each game has flags of its own:

Ultima Online
Terminal window
runicgateway-installer install --game servuo --servuo /path/to/ServUO

--game servuo is the default, so a ServUO run can leave it out.

Rust
Terminal window
runicgateway-installer install --game rust --rust /srv/rust --server-id main

One sidecar serves one Rust server, so --server-id is required on install. The Rust flags are refused on a run that is not --game rust, rather than silently ignored. The whole Rust install, including a Pterodactyl egg for hosts the installer cannot run on, is in its group.

Two mechanisms, and they answer different questions.

--verify writes nothing. On install and update it reports every change the run would make and stops, which is the right thing to run first against a game server that has players on it.

RUNICGATEWAY_STATE_DIR relocates everything the installer writes — state, data, and the sidecar binary — and suppresses service registration. That is how a full run is exercised without root, and it is what the project’s own tests use.

Terminal window
RUNICGATEWAY_STATE_DIR=/tmp/rehearsal runicgateway-installer install …
  1. Resolves a bundle — an exact, protocol-checked pair of sidecar and bridge plugin published by CI. Never “latest of each”; see Protocol versions.
  2. Deploys the bridge plugin onto the game server, backing up whatever it is about to overwrite.
  3. Installs the sidecar and registers its service.
  4. Records what it deployed, with per-file hashes, so doctor can tell later whether anything changed.
  5. Prints the values to paste into the game module’s admin screen on the site.

Each game adds its own steps: the Ultima Online install, for one, offers an optional patch tier, covered in its group.

Linux x86_64, Linux aarch64, and Windows x86_64.

macOS and Windows-on-ARM are deliberately absent: the game server and the sidecar must share a host, and no game server the platform supports runs on either.

Releases are unsigned, and SHA256SUMS is the trust anchor — verify before running. Windows will show a SmartScreen prompt, which is expected for an unsigned binary.

INSTALL.md is the operator guide — including Appendix A, hand deployment, for hosts that cannot run the binary — and PLAN.md is the design of record.