In order to run these examples, you must have both Zig and Erlang installed.
If you’re running Nix, you can grab them using the flake in this repository
with nix develop --impure
.
cd
into the example you wish to run, then start the Erlang node with:
zig build server
And then run the Zig client with:
zig build client