Add the "stable" channel to your APT sources
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
Add the release PGP keys
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
If curl
command is not found, install it as below
sudo apt update
sudo apt install curl
Increase preference of Syncthing's packages ("pinning")
printf "Package: *\nPin: origin apt.syncthing.net\nPin-Priority: 990\n" | sudo tee /etc/apt/preferences.d/syncthing
Update and install syncthing
sudo apt update
sudo apt install syncthing
Download package from here, and unzip the folder to wherever you like
Run syncthing
as below
syncthing
Refer to document here for folder sync configuration
In order to run as as service, refer to document here
Run syncthing.exe
from the unzipped folder
Refer to the same document as for Linux for configuration
In order to run as as service, refer to document here