Install on Windows (WSL2)
Demarkus runs natively on Linux. On Windows, use WSL2 (Windows Subsystem for Linux).
Prerequisites
- Enable WSL2 — open PowerShell as Administrator:
wsl --install
Restart when prompted. This installs Ubuntu by default.
- Open a WSL2 terminal — launch “Ubuntu” from the Start menu or run
wslin PowerShell.
Install inside WSL2
From your WSL2 terminal, follow the Linux install guide:
curl -fsSL https://raw.githubusercontent.com/latebit-io/demarkus/main/install.sh | bash -s -- --client-only
For a full server install:
sudo curl -fsSL https://raw.githubusercontent.com/latebit-io/demarkus/main/install.sh | bash
Access from Windows
The server runs inside WSL2 on localhost:6309 (UDP). Windows can reach it directly — WSL2 bridges the loopback automatically.
From PowerShell or CMD, you can call WSL binaries:
wsl demarkus mark://localhost:6309/index.md
Notes
- Systemd in WSL2 requires Ubuntu 22.04+ with the
[boot] systemd=trueoption in/etc/wsl.conf. If systemd isn’t available, start the server manually:demarkus-server -root ~/my-docs - The install script detects WSL2 when run from a Windows shell (Git Bash, MSYS2, etc.) and prints instructions to use WSL2 instead.
Windows binaries (experimental)
Native Windows binaries (windows/amd64, windows/arm64) are included in each release on GitHub Releases. These are not yet officially supported — no installer, no service wrapper. Download, extract, and run manually.