Skip to content

Overview

Scarb is not only a Cairo build toolchain but also a package manager. It uses registries to store and manage packages. While Scarb supports alternative ways to host packages, registries make it easy to publish, discover, and integrate packages into your projects.

Official registry

Currently, the default way to host packages is via the official scarbs.xyz registry. Please note that the official registry is still in development.

You can already use it to discover and add packages to your projects.

To learn more about publishing packages to the registry, please visit section dedicated to publishing.

Adding dependencies

If you want to add a package from the official registry as a dependency, you can read about it here.

Packaging and publishing

If you are interested in learning about the packaging and publishing process, you can read about it here.

Custom registry

Although Scarb uses the official registry by default, you can host your own registry or search for and use a community-hosted one instead.