INSTALL.md
Make sure to have enough free disk space for Rust compilation.
Windows users should use WSL and follow instructions for Linux.
xcode-select --install$HOME/git/homebrewbrew install rustup-initrustup target add wasm32-unknown-unknownbrew install llvm@18 then make sure to update your PATH as instructed.brew install protobufbrew install jqcargo install cargo-rdmecargo install taplo-clicargo install cargo-all-featurescargo install cargo-machetecurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shrustup target add wasm32-unknown-unknowncurl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.11/protoc-21.11-linux-x86_64.zipunzip protoc-21.11-linux-x86_64.zip -d $HOME/.local~/.local is not in your path, add it: export PATH="$PATH:$HOME/.local/bin"Alternatively, we have added experimental Nix support (see flake.nix).
sudo apt-get install jqcargo install cargo-rdmecargo install taplo-clicargo install cargo-all-featurescargo install cargo-macheteAlternatively, this repository contains a Nix flake that can be used to prepare a reproducible development environment on Nix-enabled systems.
Nix runs on Linux systems (including the Windows Subsystem for Linux) and macOS.
If you don't have Nix installed, we recommend using the Determinate Nix installer to easily set up Nix with flakes support.
Alternatively, you can use the standard installer and follow the documentation to enable flakes manually.
Once Nix is installed, from the repository root, simply run
$ nix develop
to enter a development environment, and then run cargo build or
cargo install normally.
If you have direnv installed, there is no need
to manually run nix develop: instead, run direnv allow to
automatically drop into the build environment when you enter the
project directory.