ZIG(1)
β¨ ZIG π
okay bestie, so zig is the manual page for zig 0.16.0 β it's the whole compiler + toolchain in one gorgeous little binary and it does SO much, like genuinely the main character of build systems π«Ά
πΈ SYNOPSIS πΈ
zig [command] [options]
that's it. that's the whole vibe. you give it a command and some options and it goes β¨
π DESCRIPTION π
π Commands π
buildβ build a project frombuild.zigποΈfetchβ copy a package into the global cache and print its hash π₯initβ initialize a Zig package in the current directory, fresh start energy π£build-exeβ create an executable from source or object files πbuild-libβ create a library from source or object files πbuild-objβ create an object from source or object files π§testβ perform unit testing (yes queen, test ur code) π§ͺtest-objβ create an object for unit testing π§ͺrunβ create an executable and run it immediately, no thoughts just go π¨ast-checkβ look for simple compile errors in any set of files πfmtβ reformat Zig source into canonical form, slay πreduceβ minimize a bug report (tiny bug, big drama) πtranslate-cβ convert C code to Zig code πarβ combine object files into a static archive π¦ccβ use Zig as a drop-in C compiler πc++β use Zig as a drop-in C++ compiler πdlltoolβ use Zig as a drop-indlltool.exeπͺlibβ use Zig as a drop-inlib.exeπͺobjcopyβ manipulate executables and relocatables π§objdumpβ print information about executables and relocatables π¨οΈranlibβ use Zig as a drop-inranlibπrcβ use Zig as a drop-inrc.exeπͺenvβ print lib path, std path, cache directory, and version πhelpβ print this help and exit πstdβ view standard library documentation in a browser πlibcβ display native libc paths file or validate one π§·targetsβ list available compilation targets π―versionβ print version number and exit π’zenβ print Zen of Zig and exit π§
π General Options π
-h,--helpβ print command-specific usage π«Ά
fr fr bestie, that's the whole page. every command, every flag, no notes. iykyk π
and that's a wrap, gorgeous β this page is from zig 0.16.0, dated April 2026 πΈ go write some Zig, you're gonna eat π β¨
π¦ where this page comes from
- fedora 43: zig 0.16.0-1.fc43 Β· MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1
- fedora 44: zig 0.16.0-1.fc44 Β· MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms