Skip to content

The build toolchain and package manager for Cairo and Starknet ecosystems

scarb init --name hello_world

scarb add alexandria_math --git \
    
https://github.com/keep-starknet-strange/alexandria.git

scarb build

scarb fmt

scarb test

Compile

Comes with built-in Cairo and StarkNet compiler, no need for setting up extra tooling.

Install

Add, update and remove dependencies from the growing family of Cairo packages.

Develop

Great support in the rest of Cairo ecosystem: CairoLS, Starknet Foundry, Dojo and more.

Community

Scarb is created by the same team at Software Mansion that is behind Starknet Foundry, the Cairo and Starknet testing framework. We partnered with Starkware, the creators of Cairo and Starknet, while designing this tool.

Feel free chat with us on our channel on Telegram or Starknet's Discord!