Skip to main content
Star zrok on GitHub Star
Version: 2.0 (Current)

Install zrok on macOS

Choose the install method that fits your setup.

Install the binary

macOS logo

macOS

Download the binary distribution for your macOS architecture. For Intel Macs use the amd64 distribution. For Apple Silicon Macs use the arm64 distribution.

  1. Unarchive the distribution in a temporary directory:

    cd ~/Downloads && mkdir -p /tmp/zrok2 && tar -xf ./zrok*darwin*.tar.gz -C /tmp/zrok2
  2. Install the zrok2 executable:

    mkdir -p ~/bin && install /tmp/zrok2/zrok2 ~/bin/
  3. Add ~/bin to your shell's executable search path:

    PATH=~/bin:$PATH

    To persist this across sessions, add the line above to your ~/.zshenv.

  4. Verify the install:

    zrok2 version
    Output
                   _
    _____ __ ___ | | __
    |_ / '__/ _ \| |/ /
    / /| | | (_) | <
    /___|_| \___/|_|\_\

    v2.0.0 [c889005]