zigcc/asdf-zig
Zig plugin for the asdf version manager.
IMPORTANT The repo is now archived and no longer maintained. Please use asdf-community/asdf-zig instead.
Zig plugin for the asdf version manager.
bash
, python3
, tar
, and POSIX utilities.After installing asdf, install the plugin by running:
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.