Skip to content

Development Setup

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.

Prerequisites

Guide

Clone

git clone https://github.com/dojoengine/dojo.git

Linux & Mac

1. Install Rust and Dependencies

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.

2. Install Scarb Package Manager

Next, install the Scarb package manager by running:

curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh

3. Add the Cairo 1.0 VSCode Extension

Install the Cairo 1.0 extension for Visual Studio Code.

Windows

Coming soon

Container

Coming soon