zigcc/asdf-zig
Zig plugin for the asdf version manager.
asdf-zig plugin for the asdf version manager.
bash
, python3
, tar
, and POSIX utilities.First add asdf-zig as plugin:
asdf plugin add zig https://github.com/zigcc/asdf-zig.git
Then use asdf-zig
to install zig:
# Show all installable versions
asdf list all zig
# Install specific version
asdf install zig latest
# Set a version globally (on your ~/.tool-versions file)
asdf set --home zig latest
# Now asdf-zig commands are available
zig version
Check asdf readme for more instructions on how to install & manage versions.