Binary install
Download the server zip for your platform from the latest release. Each zip contains one executable.
| Platform | Asset |
|---|---|
| Linux (amd64) | cove-server-linux-amd64.zip |
| Windows (amd64) | cove-server-windows-amd64.zip |
| macOS Intel / Apple silicon | cove-server-darwin-amd64.zip / cove-server-darwin-arm64.zip |
Run it
Section titled “Run it”unzip cove-server-linux-amd64.zipcurl -o config.toml https://raw.githubusercontent.com/mjn81/cove-chat/main/backend/config.toml.examplechmod +x cove-server-linux-amd64./cove-server-linux-amd64The server reads config.toml from the working directory. Set COVE_CONFIG to use another path. On first start it generates a master password and writes it to the file: back it up.
systemd service (Linux)
Section titled “systemd service (Linux)”[Unit]Description=Cove serverAfter=network-online.targetWants=network-online.target
[Service]User=coveWorkingDirectory=/opt/coveExecStart=/opt/cove/cove-serverRestart=on-failure# Keep the master password out of config.toml if you prefer:# Environment=COVE_MASTER_PASSWORD=...
[Install]WantedBy=multi-user.targetsudo useradd --system --home /opt/cove covesudo chown -R cove:cove /opt/covesudo systemctl enable --now covejournalctl -u cove -fWindows
Section titled “Windows”Run cove-server-windows-amd64.exe from a folder containing config.toml. To run it as a service, wrap it with a tool such as NSSM or WinSW and set the working directory to that folder.