Skip to content

asdf-community/asdf-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asdf-zig Build

Zig plugin for the asdf version manager.

As a bonus, this plugin supports installing zls as well, so zls and zig version can match exactly.

Dependencies

Install

After installing asdf, install the plugin by running:

asdf plugin add zig https://github.com/asdf-community/asdf-zig.git

or update an existing installation:

asdf plugin update zig

Then use asdf-zig to manage zig:

# 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 readme for more instructions on how to install & manage versions.

License

Apache License 2.0

About

Zig plugin for the asdf version manager [maintainer=@jiacai2050]

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 5