Skip to main content

Jade Documentation

Jade is a programming language written in Rust. It supports value types (int, float, bool, str, arrays, dicts, and user-defined structs), let variable bindings, fn function definitions with return, anonymous closures (|x| x * 2), first-class functions, recursion, if/elif/else control flow, while loops, for loops over arrays, try/catch/raise exception handling, struct definitions with field access and mutation, extend blocks for methods, interface definitions, multi-file use imports, print and len built-in functions, f-string interpolation, the pipe operator (|>), prompt declarations and LLM inference via ?, and a full operator set.

Installation

The fastest way to install Jade is with the official install script. Open a terminal and run:

curl -fsSL https://jadelang.org/install.sh | sh

The script detects your OS and architecture, downloads the correct prebuilt binary from the latest release, and installs it to /usr/local/bin/jade. To install to a different location, set the JADE_INSTALL_DIR environment variable before running the script:

JADE_INSTALL_DIR=~/.local/bin curl -fsSL https://jadelang.org/install.sh | sh

Windows

Download jade-windows-x86_64.exe from the latest release, rename it to jade.exe, and place it somewhere on your PATH.

Build from Source

Requires Rust 1.70 or later — install via rustup.rs.

git clone https://github.com/joericks1998/jade
cd jade
cargo build --release
cp target/release/jade /usr/local/bin/jade

Verify

jade --help

This prints the list of available subcommands. See the CLI Reference for full details.