Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Install

Release binary

The installer downloads the release for your platform, verifies its SHA-256 checksum, and places lt in $HOME/.local/bin:

curl -fsSL https://raw.githubusercontent.com/gntrees/lingua-tungga/main/scripts/install.sh | bash

Pin a version with LT_VERSION:

LT_VERSION=v0.7.2 \
  curl -fsSL https://raw.githubusercontent.com/gntrees/lingua-tungga/main/scripts/install.sh | bash

Use LT_PREFIX to install somewhere else, and LT_BASE_URL to use a mirror:

LT_PREFIX="$HOME/.cargo" LT_BASE_URL=https://mirror.example/lt \
  ./scripts/install.sh

The binary is named lt. Make sure $HOME/.local/bin is on PATH.

From source

cargo install --path crates/lt-cli

Or build the workspace binary directly:

cargo build --release
export PATH="$PWD/target/release:$PATH"
lt --help

Target toolchains

lt build only writes source files. Running lt test --run needs the native toolchain for that target:

TargetRequires
TypeScriptNode 20+
PythonPython 3.11+
GoGo 1.22+

The repository’s conformance scripts create the test dependencies (vitest, pytest, mypy) for you. A consumer project only needs the host language itself.

Verify the install

lt --help
lt check examples/library/catalog_test.lt

If lt is not found, the installer prints the directory to add to PATH.