Open StuartDaniells opened 3 days ago
(Please quote text as text, not images.)
You opened an issue, but I am not following. I am unclear on WSL; I don't think we intend to require that.
Do you have proposed text? If so, please provide it (as text of course).
This guide explains how to install Unison File Synchronizer on Windows using CI binaries. Since Unison's CI binaries are typically provided for Linux/macOS, the steps involve using Windows Subsystem for Linux (WSL) to facilitate the installation.
Visit the Releases Page
Select the Latest CI Binary
.tar.gz
or .zip
. If there is no Windows binary available, download the Linux binary to be used in WSL.To run Unison binaries built for Linux on Windows, you need to install WSL:
Enable WSL on Windows
wsl --install
Install a Linux Distribution
Open the WSL Terminal
Download and Extract CI Binaries
wget
or curl
to download the Unison CI binaries:
wget https://github.com/bcpierce00/unison/releases/download/<release>/unison-v<version>-linux64.tar.gz
Replace <release>
and <version>
with the appropriate values.
Extract the Archive
.tar.gz
file:
tar -xzf unison-v<version>-linux64.tar.gz
Move the Unison Executable to a Standard Location
/usr/local/bin
:
sudo mv unison /usr/local/bin/
Make the Binary Executable
chmod +x /usr/local/bin/unison
Access Windows Files from WSL
/mnt
directory (e.g., C:
is available at /mnt/c
).Create a Profile to Sync Files
.unison
directory within your home directory:
mkdir -p ~/.unison
nano ~/.unison/default.prf
root = /mnt/c/Users/<YourUsername>/Folder1
root = /mnt/c/Users/<YourUsername>/Folder2
Run Unison in WSL
unison default
/mnt/c/...
) to access Windows files.This setup allows us to use Unison's Linux binaries through WSL to synchronize files on your Windows system, utilizing CI binaries.
This seems to expplain how to use GNU/Linux binaries on windows, which is not using the windows binaries from CI.
At https://github.com/bcpierce00/unison/wiki/CI-Binary-instructions#installing-binaries-built-by-the-ci-process Noticed a todo for Windows based installation:
Have a solution tried on my Windows 11 machine (using WSL).