Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.02 KB

docs.md

File metadata and controls

40 lines (27 loc) · 1.02 KB

Introduction

Scarb is the Cairo package manager. Scarb downloads your Cairo package's dependencies, compiles your projects (either pure Cairo or Starknet contracts), and works as an entry point for other tooling to work with your code, such as Starknet Foundry or IDEs.

Scarb is heavily inspired by Cargo. The goal is to make programmers used to writing Rust feel at home.

Installation

Check out the download page for installation instruction and release archives.

Command line help

Scarb is designed to be discoverable straight from the terminal. If you want to get the information about available commands and flags, you can always use:

scarb -h

Or, for even more details:

scarb --help

If you want to get the detailed information about a certain command and available flags, you can always use:

scarb COMMAND --help

For example:

scarb build --help