Install the zcli binary
One line downloads the latest release for your OS and drops the zcli scaffolding tool into ~/.local/bin. This is the meta-CLI you'll use to create projects and generate commands — it is not a dependency your app ships with.
Run
$ curl -fsSL https://zcli.sh/install.sh | sh
The script detects your platform, pulls the matching binary from the latest GitHub release, verifies the checksum when available, and marks it executable.
Prefer building from source?
Clone and build with Zig directly — artifacts land in zig-out/bin/.
$ git clone https://github.com/ryanhair/zcli.git $ cd zcli && zig build
What happens
$ curl -fsSL …/install.sh | sh ==> Detecting platform… macos / aarch64 ==> Fetching latest release… zcli v0.19.0 ==> Downloading binary… ==> Verifying checksum… ✓ Installed zcli to ~/.local/bin/zcli $ zcli --version zcli 0.19.0 $ zcli --help Build beautiful CLIs with zcli — scaffold projects, add commands, and more. COMMANDS init Initialize a new zcli project add Add commands and plugins tree Visualize your command structure
If zcli isn't found afterward, make sure ~/.local/bin is on your PATH.