zigc
A C and C++ project & package manager built on Zig's build system. Scaffolding, dependencies, builds, and binary inspection — no build scripts by hand.
$ curl -fsSL https://raw.githubusercontent.com/nathanjmorton/zigc/main/install.sh | bash
$ brew tap nathanjmorton/zigc $ brew install zigc
Requires Zig 0.16.0 · v0.1.0 · GitHub
What you get
zigc init
Scaffold a new C or C++ project with build.zig and package manifest in one command.
zigc add
Add dependencies by name from the registry or by URL. Linking boilerplate is auto-generated.
zigc build / run
Compile with flag translation (-O3 → ReleaseFast, -Wall → -Dcflags). Cross-compile to WASM with --wasi.
zigc check
Verify manifest fields, .paths entries, and dependency consistency between build.zig.zon and build.zig.
zigc verify
Inspect compiled object files, binary format, symbol tables, and confirm dep symbols are linked.
zigc upgrade
Self-update to the latest release. Downloads the correct binary for your platform from GitHub.
Quick start
zigc init my-appcd my-appzigc add lz4zigc build -O3zigc run