Building from source
If you are just wanting to play with the toolchain, we strongly suggest following the Quick Start guide.
Prerequisites
You will need the Rust compiler and Cargo, the Rust package manager.
The easiest way to install both is with rustup.rs
.
On Windows, you will also need a recent version of Visual Studio, installed with the "Desktop Development With C++" Workloads option.
Building
You can either use the different Dojoup flags:
dojoup --branch master
dojoup --path path/to/dojo
Or, by using a single Cargo command:
cargo install --git https://github.com/dojoengine/dojo --force sozo katana torii
Or, by manually building from a local copy of the Dojo repository:
# clone the repository
git clone https://github.com/dojoengine/dojo.git
cd dojo
# install Sozo
cargo install --path ./bin/sozo --force
# install Katana
cargo install --path ./bin/katana --force
# install Torii
cargo install --path ./bin/torii --force