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.
$ brew tap nathanjmorton/zigc $ brew install zigc
$ curl -fsSL https://raw.githubusercontent.com/nathanjmorton/zigc/main/install.sh | bash
Requires Zig 0.16.0 · v0.3.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-app $ cd my-app $ zigc add lz4 $ zigc build -O3 $ zigc run