Installation

Linux

Update system with apt

# Add the release PGP keys:
sudo mkdir -p /etc/apt/keyrings
sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
 
# Add the "stable" channel to your APT sources:
echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
 
# Update and install syncthing:
sudo apt-get update
sudo apt-get install syncthing

Windows

Native

Note

Package is maintained by a third party

Refer GitHub - Bill-Stewart/SyncthingWindowsSetup

WSL

An alternative way to install Syncthing without Docker Desktop

  1. Install wsl
  2. Refer Linux

Usage

# Start manually
syncthing serve

Service

System Service

Info

Syncthing Web will listen to 42841 by default

# Create User
sudo useradd -s /usr/sbin/nologin -r -m syncthing
 
# Register as a system service
sudo systemctl enable syncthing@syncthing.service
sudo systemctl start syncthing@syncthing.service
 
# Verify Service
journalctl -e -u syncthing@syncthing.service

User Service

Info

Syncthing Web will listen to 8384 by default

# Register as a user service
systemctl --user enable syncthing.service
systemctl --user start syncthing.service
 
# Verify Service
journalctl -e --user-unit=syncthing.service

Version

syncthing --version

Appendix