Install zrok on Windows
Download and install the zrok2 binary for Windows.
Install the binary
Windows
-
In PowerShell, change to the directory where you downloaded zrok:
cd "$env:USERPROFILE\Downloads" -
Install
zrok2in your home directory (bin\zrok2.exe) and permanently add it to your executable search path:$binDir = Join-Path -Path $env:USERPROFILE -ChildPath "bin"
New-Item -Path $binDir -ItemType Directory -ErrorAction SilentlyContinue
$latest = Get-ChildItem -Path .\zrok*windows*.tar.gz | Sort-Object LastWriteTime | Select-Object -Last 1
tar -xf $latest.FullName -C $binDir zrok2.exe
$currentPath = [System.Environment]::GetEnvironmentVariable('PATH', [System.EnvironmentVariableTarget]::User)
if ($currentPath -notlike "*$binDir*") {
$newPath = "$currentPath;$binDir"
[System.Environment]::SetEnvironmentVariable('PATH', $newPath, [System.EnvironmentVariableTarget]::User)
$env:Path = $newPath
} -
Verify the install:
zrok2 version