Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.33 KB

windows.mdx

File metadata and controls

52 lines (40 loc) · 1.33 KB
title sidebar_label
Install zrok in Windows
Windows

import { AssetsProvider } from '@site/src/components/assets-context'; import DownloadCard from '@site/src/components/download-card'; import styles from '@site/src/css/download-card.module.css';

Windows Binary

  1. Unarchive the distribution in a temporary directory:

    New-Item -Path "$env:TEMP\zrok" -ItemType Directory -ErrorAction Stop
    tar -xf .\zrok*windows*.tar.gz -C "$env:TEMP\zrok"
    
  2. Install the zrok executable and include HOME\bin in the search PATH.

    $source = Join-Path -Path $env:TEMP -ChildPath "zrok\zrok.exe"
    $destination = Join-Path -Path $env:USERPROFILE -ChildPath "bin\zrok.exe"
    New-Item -Path $destination -ItemType Directory -ErrorAction SilentlyContinue
    Copy-Item -Path $source -Destination $destination
    $env:path += ";"+$destination
    
  3. With the zrok executable in your path, you can then execute the zrok directly.

    zrok version
    
    
     _____ __ ___ | | __
    |_  / '__/ _ \| |/ /
     / /| | | (_) |   <
    /___|_|  \___/|_|\_\
    
    v0.4.0 [c889005]