use better zig install instructions

I had done this for the macos getting started files but not for linux

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2023-05-13 16:06:12 +02:00 committed by GitHub
parent 6262cf9af0
commit ef06e3c820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,13 +33,7 @@ you'll need to install one or more of these platform languages too.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
1. Install the Zig compiler, for apps with Zig-based platforms:
```sh
wget https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
tar -xf zig-linux-x86_64-0.9.1.tar.xz
sudo ln -s $(pwd)/zig-linux-x86_64-0.9.1/zig /usr/local/bin/zig
```
1. For Zig-based platforms: download zig 0.9.1, extract the archive and add export PATH=$PATH:~/path/to/zig to your shell startup script (.profile, .zshrc, …).
1. Install a C compiler, for apps with C-based platforms: