Getting Started
This page covers installation, source validation, and program execution.
Installation
Section titled “Installation”Download a distribution for Windows, Linux, or macOS from GitHub Releases. See the core README for version-specific packages and installation instructions.
With Rust and Cargo installed, you can run Cerune from source:
git clone https://github.com/Cerune-Lang/Cerune.gitcd Cerunecargo run --quiet -- run examples/hello.ceruThe example prints 42.
CLI commands
Section titled “CLI commands”If cerune is installed, run these commands from the Cerune repository root:
cerune check examples/hello.cerucerune run examples/hello.cerucerune emit-ir examples/hello.ceru| Command | Behavior |
|---|---|
check |
Checks syntax, semantics, and types without running the program. |
run |
Executes Cerune IR directly. |
emit-ir |
Outputs Cerune IR after type and name resolution. |
run-vm |
Executes the program using Cerune VM. |