March 2021

Zig is a pre-v1.0 programming language. Until that changes, it’s probably best to track the nightly build of the master branch — where most of the user base lives, and help is most available.

🐚 ~/Downloads $ unxz zig-linux-x86_64-0.8.0-dev.1548+0d96a284e.tar.xz 
🐚 ~/Downloads $ tar xf zig-linux-x86_64-0.8.0-dev.1548+0d96a284e.tar 
🐚 ~/Downloads $ mv zig-linux-x86_64-0.8.0-dev.1548+0d96a284e ~/bin/zig

Test that Zig works:

🐚 ~ $ mkdir zig-hello-world
🐚 ~ $ cd zig-hello-world/
🐚 ~/zig-hello-world $ zig init-exe
info: Created build.zig
info: Created src/main.zig
info: Next, try `zig build --help` or `zig build run`
🐚 ~/zig-hello-world $ zig build run
info: All your codebase are belong to us.