Skip to content

Getting Started

This page covers installation, source validation, and program execution.

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.git
cd Cerune
cargo run --quiet -- run examples/hello.ceru

The example prints 42.

If cerune is installed, run these commands from the Cerune repository root:

ターミナルウィンドウ
cerune check examples/hello.ceru
cerune run examples/hello.ceru
cerune 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.