A basic script to pull the latest master, or specified version, of zig
bash install-zig.sh # installs master build as 'zig'
bash install-zig.sh 0.11.0 # installs latest build for this version as 'zig-0.11.0'
# This command is always the latest-installed master build
zig --help
# All others are versioned builds
zig-0.11.0 --help
Actual binaries are stored in ~/.local/var/zig
Executable is symlinked to ~/.local/bin