Skip to content

Installing Zig

Chung Leong edited this page Nov 17, 2026 · 3 revisions

The easiest way to install the Zig compiler is using zvm, the Zig Version Manager. Simply run its install script in a terminal window:

Linux & macOS:

curl https://www.zvm.app/install.sh | bash

Windows:

irm https://www.zvm.app/install.ps1 | iex

And follow any additional on-screen instructions.

To install Zig itself, use the following command:

zvm install 0.17.1

Run zvm -h to learn more.


Bootstrapping a new extension

Clone this wiki locally