Skip to content

Installing the Hylo compiler

We ship pre-built portable binary archives as part of our release process.

The prebuilt archives target:

Platform Architectures Minimum version
Linux x64, arm64 glibc 2.39+ (Ubuntu 24.04+)
macOS Apple silicon, Intel macOS 26+
Windows x64, arm64 Windows 11

On a platform not listed here, you need to build from source instead.

Hylo requires clang on PATH for linking, and for compiling the standard library shims.

sudo apt install clang tar zstd

Download and extract the portable archive:

Terminal window
curl -LO https://github.com/hylo-lang/hylo-new/releases/download/v0.0.9/hylo-v0.0.9-linux-x64.tar.zst
mkdir -p "$HOME/.local/hylo" && tar --zstd -xf hylo-v0.0.9-linux-x64.tar.zst -C "$HOME/.local/hylo"

Then add it to your PATH by appending this to your terminal profile, e.g. ~/.bashrc:

export PATH="$HOME/.local/hylo:$PATH"
Terminal window
hc --version

It should print 0.0.9.

Next step: set up your editor!