Scarb is both an executable binary that can be run, and a library that can be used in Rust programs.
Installing scarb/args scarb/commands/add scarb/commands/build scarb/commands/clean scarb/commands/commands scarb/commands/external scarb/commands/fmt scarb/commands/init scarb/commands/manifest_path scarb/commands/metadata scarb/commands/mod scarb/commands/new scarb/commands/remove scarb/commands/run scarb/commands/test scarb/errors scarb/main executables
Assuming you have Rust/Cargo installed, run this command in a terminal:
cargo install scarb
It will make scarb/args scarb/commands/add scarb/commands/build scarb/commands/clean scarb/commands/commands scarb/commands/external scarb/commands/fmt scarb/commands/init scarb/commands/manifest_path scarb/commands/metadata scarb/commands/mod scarb/commands/new scarb/commands/remove scarb/commands/run scarb/commands/test scarb/errors scarb/main commands available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall scarb uninstalls.
Adding scarb library as a dependency
Run this command in a terminal, in your project's directory:
cargo add scarb
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
scarb = "0.6.0-alpha.1"
The scarb library will be automatically available globally.
Read the scarb library documentation.