Install from source
Build the cohortix engine from its repository with the pinned Rust toolchain.
Version 0.1 has no published release archive yet, so the engine is built from source. You need git and rustup.
Build
The Rust toolchain is pinned in rust-toolchain.toml (channel 1.100.1, with rustfmt and clippy). With rustup installed, the first cargo command in the repository downloads and selects it.
git clone https://github.com/cohortix-org/cohortix.git
cd cohortix
cargo build --workspace --lockedThe build produces three programs:
| Program | What it does |
|---|---|
cohortix | Runs a scenario file. |
chx | A short alias of cohortix: the same code, identical behaviour. |
cohortix-data | The data pipeline: prepares normalized tables and the data manifest a scenario reads. |
Check the build
cargo run -p cohortix-cli --bin cohortix -- --version
cargo run -p cohortix-cli --bin cohortix -- --version --json--version prints the version line; with --json it adds the commit, the compiler and the build target as one JSON object. These are the same values the engine records in the provenance of every run.
Run the tests
cargo test --workspace --lockedRelease archives
From the first release tag, each release ships one archive per tier-1 target (Windows x86-64, Linux x86-64 and ARM64, macOS ARM64 and x86-64), each holding cohortix, chx, cohortix-data and both licence files, plus a BLAKE3 checksum file. Check a download with:
b3sum --check cohortix-<version>-checksums.b3Linux binaries are statically linked (musl) and Windows binaries link the C runtime statically, so an archive runs without installing anything else.
Next: run the example scenario.