Install zrok in macOS
Homebrew
brew install zrok
Darwin Binary
macOS
Download the binary distribution for your macOS architecture. For Intel Macs use the amd64
distribution. For Apple Silicon Macs use the arm64
distribution.
-
Unarchive the distribution in a temporary directory.
cd ~/Downloads && mkdir -p /tmp/zrok && tar -xf ./zrok*darwin*.tar.gz -C /tmp/zrok
-
Install the
zrok
executable.mkdir -p ~/bin && install /tmp/zrok/zrok ~/bin/
-
Add
~/bin
to your shell's executable search path. Optionally add this to your ~/.zshenv to persist the change.PATH=~/bin:$PATH
-
With the
zrok
executable in your path, you can then execute thezrok
command from your shell:zrok version