Skip to main content
Version: Zig 0.11.0


Consider getting Zig from your distribution's package manager. Most major linux distros package the latest Zig release.

Installing manually

  1. Download a prebuilt version of Zig.

    Choose a build of Zig 0.11 for linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with:

    uname -m
  2. Extract the archive using tar, e.g.

    tar xf zig-linux-x86_64-0.11.0.tar.xz
  3. Add the location of your Zig binary to your path, e.g.

    echo 'export PATH="$HOME/zig-linux-x86_64-0.11.0:$PATH"' >> ~/.bashrc

Verifying your install

Verify your installation with zig version. The output should look like this:

$ zig version


For completions and go-to-definition in your editor, consider installing the Zig Language Server.

Consider joining a Zig community.