Installation
Get the toolchain and dependencies in place to build Dusk and run a node.
Prerequisites
Dusk builds a vendored Cap'n Proto compiler from source, so you need a C/C++ toolchain alongside Rust:
- Rust - the repository pins its toolchain. Running
rustup showfrom the project root installs the correct version automatically. make,cmake,autotools- required to build the vendored Cap'n Proto compiler undervendor/.uv- used for the Python tooling (pre-commit, thedusk_pyextension, the docs).
Clone and build
Bash
git clone https://github.com/tomerze/dusk
cd dusk
rustup show # installs the pinned toolchain
cargo build # first build also compiles the vendored Cap'n Proto source
Pre-commit hooks
Once installed, the hooks run on every commit. With the toolchain and build deps in place, head to the Quickstart.