Skip to content

Getting Started

Let's get started building on Dojo! This guide will walk you through installing the Dojo toolchain and preparing your environment for development. Dojo is built around a set of development tools - Katana, Torii and Sozo.

Install dependencies

The Dojo toolchain integrates scarb, the cairo package manager, which have the following dependencies:

Install using dojoup

You can install with the dojoup version manager which enables you to easily install, update and manage your Dojo installation.

Install dojoup

curl -L https://install.dojoengine.org | bash

Install the latest Dojo release

dojoup

For more information on advanced usage, such as installing a particular version or building from source, run dojoup --help.

Install using asdf

You can alternatively use the asdf package manager to install and manage your Dojo installation.

Install asdf

Add the asdf-dojo plugin

asdf plugin add dojo https://github.com/dojoengine/asdf-dojo

Install the latest or a specific version

asdf install dojo latest      # For the latest version
asdf install dojo 0.7.0       # For a specific version

Set the global or local version

asdf global dojo latest       # Set globally
asdf local dojo 0.7.0         # Set locally in your project directory

Once you're up and running, check out the Dojo Starter guide!