Download and install - The ZZ Programming Language
Recommended: release script
Section titled “Recommended: release script”curl -fsSL https://zz-lang.pages.dev/install.sh | shzz --versionzz setup # PATH + completions for bash/zsh/fish/powershell (run once)Windows:
irm https://zz-lang.pages.dev/install.ps1 | iexWindows native builds:
zz build/zz run --native/zz test --engine nativeare not supported on Windows yet — the AOT runtime still needs its Win32 threads/sockets ported (<pthread.h>,fcntl,poll). VM mode (zz run,zz check,zz test), the REPL,zz-lsp, andzz pmall work on Windows.
From source
Section titled “From source”Needs stable Rust + clang 18+ (or zig cc) for AOT builds:
git clone https://github.com/zaidejjo/zzcd zzcargo install --path crates/zz_clizz --versionVM-only work (zz run, zz check, zz test) needs no C toolchain.
zz build / zz run --native / zz test --engine native need one.
No C toolchain? Use the managed Zig backend (optional, AOT only)
Section titled “No C toolchain? Use the managed Zig backend (optional, AOT only)”zz toolchain installzz toolchain statuszz build -p --cc zig main.zzPin per project with [native], relocate with ZZ_TOOLCHAIN_ROOT for hermetic CI.
Health check
Section titled “Health check”zz doctor # audit binary, clang, shell, git, registryzz doctor --fix # auto-fix what it canzz upgrade # self-update zz + zz-lsp from GitHub releaseszz cache clean # reclaim ~/.zz/cache when disk is lowNext: Quick start.