Skip to content
Halyard
Project
Source code on Codeberg (opens in new tab)

Search

Menu

Installation

There are several ways to install Halyard on your system.

Pre-built Binaries

The easiest way to get started is to download a pre-built binary from the releases page.

PlatformFile
Linux x86_64halyard-vX.Y.Z-linux-x86_64.tar.gz
Windows x86_64halyard-vX.Y.Z-windows-x86_64.zip

Linux:

bash
curl -L https://codeberg.org/halyard/halyard-cli/releases/download/v0.0.21/halyard-v0.0.21-linux-x86_64.tar.gz | tar xz
sudo mv halyard /usr/local/bin/

Windows: Download halyard-vX.Y.Z-windows-x86_64.zip from the releases page, extract it, and add the directory to your PATH.

Using Nix Flakes

The easiest way to get started with Halyard is using Nix Flakes:

bash
# Run directly without installing
nix run git+https://codeberg.org/halyard/halyard-cli

# Or build the package
nix build git+https://codeberg.org/halyard/halyard-cli

# Enter a development shell
nix develop git+https://codeberg.org/halyard/halyard-cli

Building from Source

If you prefer to build from source:

bash
# Clone the repository
git clone https://codeberg.org/halyard/halyard-cli.git
cd halyard-cli

# Build and install
cargo install --path .

This provides a single halyard binary with all tools:

  • halyard run <file> — Execute a Halyard file
  • halyard check <file> — Type-check without executing
  • halyard repl — Start the interactive REPL
  • halyard tui — Open the terminal UI (REPL + environment inspector + DataFrame viewer)
  • halyard fmt — Format source code
  • halyard lsp — Start the language server
  • halyard init — Create a new project from a template
  • halyard templates — List available project templates
  • halyard trace — Inspect compiler pipeline phases (AST, types, bytecode, execution)
  • halyard info — Show project manifest and permissions
  • halyard flow — Show data flow graph between task files
  • halyard graph — Show file dependency graph
  • halyard list — List .hly files in the project

Individual Tools

If you prefer standalone binaries, each tool is also available as a separate package:

Jupyter Kernel (Optional)

For Jupyter notebook support, install the kernel separately:

bash
cargo install --git https://codeberg.org/halyard/halyard-jupyter
install-halyard-kernel

See the Jupyter guide for details.

Prerequisites

  • For Nix: Nix 2.4+ with flakes enabled
  • For Source: Rust 1.85+ and Cargo (halyard-core uses edition 2024)

Verify Installation

After installation, verify Halyard is working:

bash
halyard --version

Next Steps

Now that you have Halyard installed, proceed to Hello World to write your first program.