Skip to content

The build toolchain and package manager for Cairo and Starknet ecosystems

scarb init --name hello_world

scarb add alexandria_math --git \

scarb build

scarb fmt

scarb test


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


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


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


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!