ryanpz/zig-swap
A Zig and ZLS version manager
zig-swap is a Zig and ZLS version manager. It downloads the Zig version specified in the first argument, along with the respective ZLS release, and activates them by creating symlinks in $HOME/.local/bin
.
sh
and does not use any utility extensions$ zig-swap 0.15.1
# download output...
$ zig version
0.15.1
$ zls --version
0.15.0
$HOME/.local/bin
is in your PATH
$XDG_DATA_HOME/zig-swap
MIT