Do not use pacman, just download and install the 0.15.2 due 0.16.1 incompatibility with this program...
sudo rm -rf /opt/zig; sudo mkdir -p /opt/zig; and curl -L (curl -s https://ziglang.org/download/index.json | python3 -c "import sys, json; print(json.load(sys.stdin)['0.15.2']['x86_64-linux']['tarball'])") | sudo tar -xJ --strip-components=1 -C /opt/zig; and sudo ln -sf /opt/zig/zig /usr/local/bin/zig; and zig version
PD: This shell code is for fish shell.
Do not use pacman, just download and install the 0.15.2 due 0.16.1 incompatibility with this program...
sudo rm -rf /opt/zig; sudo mkdir -p /opt/zig; and curl -L (curl -s https://ziglang.org/download/index.json | python3 -c "import sys, json; print(json.load(sys.stdin)['0.15.2']['x86_64-linux']['tarball'])") | sudo tar -xJ --strip-components=1 -C /opt/zig; and sudo ln -sf /opt/zig/zig /usr/local/bin/zig; and zig version
PD: This shell code is for fish shell.