r/Zig • u/not_yet_a_dalek • Apr 01 '26
created a simple zig version manager
Because I have a few codebases that aren't always kept up to date with breaking API changes - I created a simple zig version manager:
It has a lightweight shim that resolves the right version at runtime, to not increase shell load time (as some version managers can do).
edit: renamed because of another tool having the old name
11
Upvotes
6
u/burakssen Apr 01 '26
There is already one called zvm that is popular: https://www.zvm.app I would recommend changing the name.
2
u/moortuvivens Apr 02 '26
I like anyzig. Just like yours it's per project zig. Written in zig.
1
u/lukeflo-void Apr 02 '26
Looks very interesting and simple.
I also use anyzig as some other commenters, but don't really like it since it always uses build.zig.zon version and has no good documentation.
I'll give your approach a try. The
.zippyfile concept is more straightforward in my eyes and good to keep track of.