1ZIG(1)                           User Commands                          ZIG(1)
2
3
4

NAME

6       zig - manual page for zig 0.9.1
7

SYNOPSIS

9       zig [command] [options]
10

DESCRIPTION

12       Commands:
13
14       build  Build project from build.zig
15
16       init-exe
17              Initialize a `zig build` application in the cwd
18
19       init-lib
20              Initialize a `zig build` library in the cwd
21
22       ast-check
23              Look for simple compile errors in any set of files
24
25       build-exe
26              Create executable from source or object files
27
28       build-lib
29              Create library from source or object files
30
31       build-obj
32              Create object from source or object files
33
34       fmt    Reformat Zig source into canonical form
35
36       run    Create executable and run immediately
37
38       test   Create and run a test build
39
40       translate-c
41              Convert C code to Zig code
42
43       ar     Use Zig as a drop-in archiver
44
45       cc     Use Zig as a drop-in C compiler
46
47       c++    Use Zig as a drop-in C++ compiler
48
49       dlltool
50              Use Zig as a drop-in dlltool.exe
51
52       lib    Use Zig as a drop-in lib.exe
53
54       ranlib Use Zig as a drop-in ranlib
55
56       env    Print lib path, std path, cache directory, and version
57
58       help   Print this help and exit
59
60       libc   Display native libc paths file or validate one
61
62       targets
63              List available compilation targets
64
65       version
66              Print version number and exit
67
68       zen    Print Zen of Zig and exit
69
70       General Options:
71
72       -h, --help
73              Print command-specific usage
74

SEE ALSO

76       The  full  documentation for zig is maintained as a Texinfo manual.  If
77       the info and zig programs are properly installed at your site, the com‐
78       mand
79
80              info zig
81
82       should give you access to the complete manual.
83
84
85
86zig 0.9.1                        January 2023                           ZIG(1)
Impressum