summaryrefslogtreecommitdiff
path: root/download-zig.sh
diff options
context:
space:
mode:
Diffstat (limited to 'download-zig.sh')
-rwxr-xr-xdownload-zig.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/download-zig.sh b/download-zig.sh
new file mode 100755
index 0000000..0f353b1
--- /dev/null
+++ b/download-zig.sh
@@ -0,0 +1,3 @@
1#!/bin/sh
2curl "$(curl https://ziglang.org/download/index.json | grep x86_64-linux -A 1 | head -n 2 | grep tarball | sed -E 's/.*"tarball": "([^"]*)".*/\1/g')" > zig.tar.xz
3tar -xf zig.tar.xz \ No newline at end of file