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

Distribution packages

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)

See the formula for Pijul.


curl | 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'

Arch Linux

Pijul is packaged in AUR on Arch Linux.


Major releases of Pijul are built for Windows, and available for download on

FreeBSD / DragonflyBSD