https://github.com/asdf-community/asdf-zig
Zig plugin for the asdf version manager [maintainer=@jiacai2050]
https://github.com/asdf-community/asdf-zig
asdf asdf-plugin
Last synced: 8 days ago
JSON representation
Zig plugin for the asdf version manager [maintainer=@jiacai2050]
- Host: GitHub
- URL: https://github.com/asdf-community/asdf-zig
- Owner: asdf-community
- License: apache-2.0
- Created: 2021-03-13T23:46:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2026-01-13T00:56:31.000Z (2 months ago)
- Last Synced: 2026-01-13T02:46:17.911Z (2 months ago)
- Topics: asdf, asdf-plugin
- Language: Python
- Homepage: https://github.com/asdf-vm/asdf
- Size: 24.4 KB
- Stars: 74
- Watchers: 1
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-zig - asdf-community/asdf-zig - Zig plugin for the [asdf](https://github.com/asdf-vm/asdf) version manager. (Fundamentals / Package and Version Manager)
README
# asdf-zig [](https://github.com/asdf-community/asdf-zig/actions/workflows/build.yml)
[Zig](http://ziglang.org/) plugin for the [asdf version manager](https://asdf-vm.com).
As a bonus, this plugin supports installing zls as well, so zls and zig version can match exactly.
# Dependencies
- `bash`, `python3`, `tar`, and [POSIX utilities](https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html).
- asdf 0.16+
# Install
After installing [asdf](https://asdf-vm.com/guide/getting-started.html), install the plugin by running:
```shell
asdf plugin add zig https://github.com/asdf-community/asdf-zig.git
```
or update an existing installation:
```shell
asdf plugin update zig
```
Then use `asdf-zig` to manage zig:
```shell
# Show all installable versions
asdf list all zig
# Install specific version
asdf install zig 0.15.1
# or install latest tagged version with
asdf install zig latest
# Set a version globally (on your ~/.tool-versions file)
asdf set --home zig latest
# Now zig commands are available
zig version
# You can also check the ZLS version.
# It is designed to be highly compatible with the specific Zig version you installed.
zls version
```
Check [asdf](https://github.com/asdf-vm/asdf) readme for more instructions on how to
install & manage versions.
# License
[Apache License 2.0](LICENSE)