You can download Zig from the Releases page, or using a package manager.
Exercism currently supports Zig 0.12.0 (released on 2024-04-20) only.
An exercise may be compatible with a different Zig version, but that isn't guaranteed. Zig hasn't yet reached version 1.0, and breaking changes are common.
This third-party software provides editor completions and enhanced Zig code navigation features, which can help you learn the language faster.
You can install ZLS here.
The Zig executable contains a code formatter.
To format file.zig, run:
zig fmt file.zigFor more details on the suggested code style, see the Zig Style Guide.
The Zig executable has a command to remind us of Zig's design goals:
zig zen