Run it as a service
The installer does not configure startup.
The curl installer only places binaries on disk. For an
always-on Linux host, install the daemon as a systemd service and
allow the LocalSend ports through the LAN firewall. macOS can run
the same daemon directly; Windows is not wired into the curl
installer for this alpha.
Linux and macOS install
mkdir -p "$HOME/.local/bin"
curl -fsSL https://raw.githubusercontent.com/NightBridgeHQ/nightbridge/main/install.sh | \
sh -s -- --version 26.5.0-alpha.1 \
--install-dir "$HOME/.local/bin"
The curl installer supports Linux and macOS release tarballs.
Linux systemd unit
Run NightBridge as a hardened system service with a dedicated
user, persistent identity, and restart-on-failure. The complete,
copy-pasteable unit and setup steps live in the daemon operations
guide.
sudo systemctl enable --now night-bridge.service
systemctl status night-bridge.service
Full unit file:
Daemon operations guide →
Docker / GHCR preview
docker pull ghcr.io/nightbridgehq/nightbridge:26.5.0-alpha.1
docker run -d --name nightbridge \
--restart unless-stopped \
--network host \
-v nightbridge-data:/var/lib/night-bridge \
ghcr.io/nightbridgehq/nightbridge:26.5.0-alpha.1 \
--alias "Home Server" \
--localsend-receive-policy trusted \
--inbox /var/lib/night-bridge/inbox
Use the published GHCR image for a containerized Linux preview instead of host binaries. Pin :26.5.0-alpha.1 for the stable alpha, or :develop for the most recent build — today they are identical.
macOS run-direct alpha path
mkdir -p "$HOME/NightBridgeInbox"
"$HOME/.local/bin/night-bridge-daemon" \
--alias "Home Server" \
--localsend-receive-policy trusted \
--inbox "$HOME/NightBridgeInbox"
A LaunchAgent can keep it running, but the alpha site keeps macOS startup explicit for now.
Windows alpha status
# Windows native install is not in install.sh yet.
# For this alpha, use WSL/Linux or build from source.
cargo build --release -p lsi-cli -p lsi-daemon -p lsi-tui
Windows CI build and tests are green, but polished Windows packaging is still pre-release work.
LAN firewall ports
sudo ufw allow from <trusted-lan-cidr> to any port 53317 proto tcp
sudo ufw allow from <trusted-lan-cidr> to any port 53317 proto udp
sudo ufw allow from <trusted-lan-cidr> to any port 53400 proto udp
Set the CIDR to your trusted LAN before enabling inbound discovery and transfer traffic.
Check status
systemctl status night-bridge.service
journalctl -u night-bridge.service -f
curl -k https://127.0.0.1:53317/api/localsend/v2/info
On macOS, use the same curl -k check against the daemon process you started.