Installation
chartlet ships as a CLI and crate on crates.io and as an Astro package on npm. All three use the same renderer.
cargo install chartlet --version 0.1.0-alpha.3To build from a clone of the repository instead, run cargo install --path ..
npm install @casoon/chartlet@alpha
cargo install chartlet --version 0.1.0-alpha.3The alpha package calls the chartlet CLI, so install both. The CLI must be on PATH, or
CHARTLET_BIN must point to it.
cargo add chartlet@0.1.0-alpha.3Caution
While chartlet is in alpha, name the version explicitly. On npm, use the alpha tag.
Requirements
| Package | Requirement |
|---|---|
| CLI and crate | Rust 1.88 or newer |
@casoon/chartlet |
Astro 6 or newer, and the chartlet CLI |
Next steps
Continue with the Quickstart.