I used to manage my Zig installation by installing the binary and copying to my path. Not too hard, but now there is even an easier way by using zigup
.
To install zig, it enables you to simply type zigup master
I would recommend to get the latest binary from the Github releases page. Or if you already have Zig, install it from source:
# Install the binary
git clone [email protected]:marler8997/zigup.git
cd zigup
zig build -Dfetch
cp zig-out/bin/zigup ~/.local/bin/