This is a guide to setting up a development environment for Dojo. It is not suggested to follow this guide if you are just wanting to play with the toolchain. We strongly suggest following the Quick Start guide.
git clone https://github.com/dojoengine/dojo.git
Start by installing Rust and running the test suite to confirm your setup:
rustup override set stable && rustup update && cargo test
Note: Depending on your Linux distribution, you may need to install additional dependencies. Make sure to install any suggested or missing dependencies that arise during the setup process.
Next, install the Scarb package manager by running:
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh
Install the Cairo 1.0 extension for Visual Studio Code.