Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.12 KB

File metadata and controls

24 lines (20 loc) · 1.12 KB

wireguard-tools-windows

An easy to use windows only version of wireguard-tools build with TypeScript on deno.

install

  • download newest release
  • navigate into the folder you've downloaded the file to
  • Shift+Right-Click > open powershell here
  • ./wg-quick --install

automatic install

The following command can be executed in a non elevated powershell window (copy, paste, enter) and will automatically download and install the tool.

(-NOT (iwr https://github.com/LightYourWay/wireguard-tools-windows/releases/download/v0.9.1/wg-quick.exe -OutFile wg-quick.exe)) -and (.\wg-quick.exe --install)

build on windows

(New-Item -ItemType Directory -Force -Path ./build) -and (deno compile --allow-read --allow-write --allow-run --allow-env --unstable --target x86_64-pc-windows-msvc --output ./build/wg-quick ./src/wg-quick.ts)

build on linux

mkdir -p build && deno compile --allow-read --allow-write --allow-run --allow-env --unstable --target x86_64-pc-windows-msvc --output ./build/wg-quick ./src/wg-quick.ts