Install
Chelis ships a rustup-style toolchain manager (chelisup) and a one-command
project orchestrator (chelis reef setup). Most users want this path.
Install chelisup
Section titled “Install chelisup”During private pre-launch, bootstrap via an authenticated gh:
gh release download --repo Chelis-Lang/chelis --pattern chelisup.sh --output - | shOr from a local checkout:
sh crates/chelisup/bootstrap/chelisup.shBoth paths drop ~/.chelis/bin/chelisup and print the PATH line to add
to your shell rc:
export PATH="$HOME/.chelis/bin:$PATH"Install a toolchain
Section titled “Install a toolchain”Toolchains install side-by-side under ~/.chelis/toolchains/<ver>:
chelisup install 0.16.1Set a default:
chelisup default 0.16.1List installed toolchains:
chelisup list-installedchelisup showProvision a project
Section titled “Provision a project”Clone a Chelis shell repo and bring all its dependencies to the pinned versions in one command:
cd my-shell && chelis reef setupchelis reef setup reads the project's reef.toml pin and brings
every dependency class to it: the toolchain (auto-installed via
chelisup), source packages and binary artifacts (reef install --from-lockfile), and chelis source crates (reef src sync). It
prints a chelis reef doctor summary when done.
Version resolution
Section titled “Version resolution”A small chelis shim resolves the active toolchain at each call.
First match wins:
- Leading
+<ver>on the command:chelis +0.13.0 build main.ch CHELIS_TOOLCHAINenvironment variable- A
chelis-toolchainfile in the current or ancestor directory - The nearest
reef.tomlcompiler =pin - The recorded default (
chelisup default <ver>)
A resolved but not installed version is a loud error, never a silent fallback.
Prebuilt binaries
Section titled “Prebuilt binaries”Chelis distributes as downloadable prebuilt binaries for macOS and Linux, arm64 and x86-64, in CPU-only, AMD (HIP), and NVIDIA variants. See the Chelis-Lang GitHub org for available releases.
Build from source
Section titled “Build from source”If you need to build the compiler from a checkout (contributors or local development):
Rust toolchain. The repo pins its toolchain in
rust-toolchain.toml (stable, with rustfmt and clippy). Rustup
installs it automatically on first cargo invocation:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shC toolchain (for the C backend):
Fedora / RHEL:
sudo dnf install gcc openblas-devel valgrindUbuntu / Debian:
sudo apt-get install gcc libopenblas-dev valgrindmacOS:
xcode-select --installSupported macOS paths:
- Default: Apple clang + Accelerate (vecLib). Supported out of the box on Apple Silicon.
- Optional: Homebrew GCC for OpenMP-enabled CPU loops (
brew install gcc).
Build and test:
cargo build --workspace --all-targetscargo test --workspaceBuild just the CLI:
cargo build -p chelis-cliexport PATH="$PWD/target/debug:$PATH"chelis --help