A tiny tool for better control over your Zig projects.
Find a file
2026-08-19 21:52:08 +08:00
libcommand chore: downgrade Zig to 0.16.0 2026-08-14 10:10:28 +08:00
src feat: complete zis init 2026-08-14 22:48:39 +08:00
.gitattributes feat: first commit 2026-07-11 04:42:08 +08:00
.gitignore feat: first commit 2026-07-11 04:42:08 +08:00
build.zig feat: complete zis init 2026-08-14 22:48:39 +08:00
build.zig.zon chore: downgrade Zig to 0.16.0 2026-08-14 10:10:28 +08:00
LICENSE feat: first commit 2026-07-11 04:42:08 +08:00
mise.toml chore: downgrade Zig to 0.16.0 2026-08-14 10:10:28 +08:00
Onlyfile ci: update Onlyfile 2026-08-19 21:52:08 +08:00
README.md docs: update README 2026-08-14 23:15:32 +08:00
zis.ziggy feat: complete zis init 2026-08-14 22:48:39 +08:00

Zis

A tiny tool for better control over your Zig projects.

Prerequisites

  • Mise (pin the zig & zls version)
  • Only (task runner if you like)

Usage

Initialize a project

Create a Zig project from the default or a named template. The target directory must be empty.

zis init my-project
zis init my-project --template app

Fetch a package

Fetch a Zig package and print its hash or dependency declaration.

zis fetch --save https://github.com/zigtools/zls/archive/refs/tags/0.16.0.tar.gz

Customize templates

Zis creates missing templates from zig init. Edit a template here to customize future projects:

  • Linux and macOS: $XDG_DATA_HOME/zis/templates/<template> or $HOME/.local/share/zis/templates/<template>
  • Windows: %LOCALAPPDATA%\Programs\Zis\templates\<template>

The default template is global. Use --template <name> to choose another one.

A Few Thoughts

I heard about the project called Ziggy, and its perfect for my Zis.

So I built libcommand, a library which could build CLI with a easy .ziggy.

This project is steadily taking shape, and I still find joy in building it.

LICENSE

MIT