The main channel to compile Pijul from source is the Rust Language package manager, Cargo. See here for installing Cargo (which comes with Rust).
Next you'll need some libraries headers installed on your computer and clang compiler.
On debian be sure to install needed libraries:
sudo apt install libsodium-dev libsodium-dev libclang-dev libclang clang
Then run the following command in your terminal:
cargo install pijul --force
Nix and NixOS
Nix is a package manager that can be installed on any linux distribution, and on OSX.
nix-env upgrade nix-env -iA pijul
Homebrew (Mac OS)
curl https://nixos.org/nix/install | sh
if it fails with:
nix error: cloning builder process: Operation not permitted
then create a file as root:
sudo su root -c 'echo "kernel.unprivileged_userns_clone=1" >> /etc/sysctl.d/nix.conf'
Pijul is packaged in AUR on Arch Linux.
Major releases of Pijul are built for Windows, and available for download on https://pijul.org/downloads/#windows-binaries