⚡ Zig Guide LiveUnofficialbut fully verified
✓ Zig 0.17.0-dev.1503+1f1bee62eOn an older Zig?

Getting Started

Install a master build, compile Hello World, and run your first test. If you are arriving from 0.13 or 0.14, the last chapter lists what moved and what the replacement looks like.

  1. This guide follows Zig master, not a tagged release. The compiler named in the footer is the one that compiled every snippet on the site.
  2. A test needs no framework and no separate file. A test block in any compiled file is a test, and zig test runs it.
  3. Code from a 0.13 or 0.14 tutorial probably does not compile today. That is not your mistake, and the last chapter says what moved.

4 chapters.