CmdID

CmdID / Commands

zig

The Zig compiler and toolchain. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Compile the project in the current directory

zig buildIdentify

Compile and run the project in the current directory

zig build runIdentify

Initialize a zig build project with library and executable

zig initIdentify

Create and run a test build

zig test path/to/file.zigIdentify

Cross compile, build, and run a project for x86_64 architecture and windows operating system

zig build run -fwine -Dtarget=x86_64-windowsIdentify

Reformat Zig source into canonical form

zig fmt path/to/file.zigIdentify

Translate a C file to zig

zig translate-c -lc path/to/file.cIdentify

Use Zig as a drop-in C++ compiler

zig c++ path/to/file.cppIdentify