# Quick start
Get packaging + CI for a Rust CLI in a few minutes.
## Install sastri
Pick one (no Rust toolchain required except crates.io):
```bash
# Homebrew
brew install latentmeta/tap/sastri
# Scoop (Windows)
scoop bucket add latentmeta https://github.com/latentmeta/scoop-bucket
scoop install sastri
# mise
mise use -g github:latentmeta/sastri@0.1.0
# asdf
asdf plugin add sastri https://github.com/latentmeta/asdf-sastri.git
asdf install sastri 0.1.0
asdf global sastri 0.1.0
# curl
# crates.io / contributors
cargo install sastri
```
## Scaffold your CLI repo
From the root of a Rust CLI crate:
```bash
sastri init --generate
```
The wizard writes a non-sensitive `Sastri.toml`, then generates:
- `.github/workflows/ci.yml` — fmt, clippy, tests, coverage
- `.github/workflows/release.yml` — multi-arch binaries + SHA256SUMS (+ crates.io)
- `scripts/install.sh`, Homebrew / Scoop / asdf / mise packaging, setup Action
- optional npm / PyPI / Hex wrappers when enabled
Or skip the wizard:
```bash
cp path/to/sastri/examples/Sastri.toml ./Sastri.toml
# edit names, org taps, mechanisms…
sastri generate --force
```
## Release once
1. Set `CRATES_IO_TOKEN` (and any registry tokens from `sastri secrets`) on the GitHub repo.
2. Tag and push: `git tag v0.1.0 && git push origin v0.1.0`
3. After the Release job finishes, fill Homebrew `sha256` / Scoop `hash` from `SHA256SUMS` and push your tap/bucket.
Users install your binary from those front doors — they never need Rust.
## Next
- [Guide](guide.md) — architecture and channel checklist
- [Usage](usage.md) — commands, `Sastri.toml`, and extending mechanisms