This chapter walks you through setting up your Starknet development tools.
Essential tools to install:
Starkli - A CLI tool for interacting with Starknet. More tools are discussed in Chapter 2.
Scarb - Cairo’s package manager that compiles code to Sierra, a mid-level language between Cairo and CASM.
Katana - Katana is a Starknet node, built for local development.
For support or queries, visit our GitHub Issues or contact espejelomar on Telegram.
Easily install Starkli using Starkliup, an installer invoked through the command line.
curl https://get.starkli.sh | sh starkliup
Restart your terminal and confirm installation:
To upgrade Starkli, simply repeat the steps.
We will get deeper into Scarb later in this chapter. For now, we will go over the installation process.
For macOS and Linux:
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh
For Windows, follow manual setup in the Scarb documentation.
Restart the terminal and run:
To upgrade Scarb, rerun the installation command.
To install Katana, use the
dojoup installer from the command line:
curl -L https://install.dojoengine.org | bash dojoup
After restarting your terminal, verify the installation with:
To upgrade Katana, rerun the installation command.
You are now set to code in Cairo and deploy to Starknet.