Lightweight deployment agent for Berth — runs on your Linux server and receives deployments from the Berth desktop app or CLI.
curl -sSL https://agent.getberth.dev/install.sh | sudo bash
The installer will:
berth system userUses Synadia Cloud NATS relay — zero inbound ports required, works behind NAT and firewalls. Both the agent and desktop app connect outbound to Synadia’s infrastructure.
.creds file)After installation, the agent displays a pairing code. Enter it in Berth → Targets → Pair Agent.
The desktop app connects directly to the agent’s IP. Requires network reachability and uses mutual TLS (mTLS) for encryption and authentication.
During installation, the agent generates TLS certificates automatically. Copy the CA and client certificates to your desktop machine and import them in Berth → Settings → Direct Connection (mTLS).
You can also generate certificates manually:
sudo -u berth berth-agent init-tls
systemctl status berth-agent # check status
journalctl -u berth-agent -f # follow logs
berth-agent update # self-update to latest version
berth-agent update --version 0.3.0 # update to specific version
curl -sSL https://agent.getberth.dev/install.sh | sudo bash -s -- --uninstall
The agent is a single Rust binary with zero runtime dependencies. It supports two connection modes:
Features:
This project is licensed under the Business Source License 1.1 (BSL-1.1).
After the change date, the code converts to Apache 2.0. You may freely use, modify, and self-host Berth for your own deployments. See the LICENSE file for full terms.