Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.18 KB

File metadata and controls

42 lines (26 loc) · 1.18 KB

Installation

You can download Zig from the Releases page, or using a package manager.

Supported Zig version

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.

The Zig Language Server - comprehensive editor support for Zig

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.

Other commands

zig fmt

The Zig executable contains a code formatter. To format file.zig, run:

zig fmt file.zig

For more details on the suggested code style, see the Zig Style Guide.

zig zen

The Zig executable has a command to remind us of Zig's design goals:

zig zen