⚡ Zig Guide LiveUnofficialbut fully verified
✓ Zig 0.18.0-dev.624+b7f2c6d8fWhat's newOn an older Zig?Blograylib-zig

Getting Started

Install a master build, compile Hello World, and run your first test. If you used 0.13 or 0.14 before, the last chapter lists what moved and shows each replacement.

  1. This guide follows Zig master, not a tagged release. The footer names the compiler 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. The failure is not your mistake. The last chapter tells you what moved.

5 chapters.