Install zrok in Windows
Windows Binary
Windows
-
In PowerShell, change to the directory where you downloaded zrok.
cd "$env:USERPROFILE\Downloads"
-
In PowerShell, install zrok in your home directory (
bin\zrok.exe
), and permanently set the 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 zrok.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
} -
With the
zrok
executable in your path, you can then execute thezrok
directly.zrok version
Wintun for zrok VPN
On Windows, you must install Wintun to use zrok's VPN backend mode. See the VPN guide for more details.