From 98ee9b2f47016308c8e872ba9854c44f081a81cd Mon Sep 17 00:00:00 2001 From: Jonathan Marler Date: Sun, 5 May 2024 09:10:51 -0600 Subject: [PATCH] add the How to Install section to README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 30ffd72..26d6d6a 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,21 @@ Download and manage zig compilers. +# How to Install + +Download and extract the applicable archive from [Releases](https://github.com/marler8997/zigup/releases). It will contain a single static binary named `zigup`, unless you're on Windows in which case it's 2 files, `zigup.exe` and `zigup.pdb`. + +Here are some options to do this from the command-line: +```sh +curl -L https://github.com/marler8997/zigup/releases/download/VERSION/zigup-ARCH-OS.tar.gz | tar xz + +# for example: +curl -L https://github.com/marler8997/zigup/releases/download/v2024_05_05/zigup-x86_64-linux.tar.gz | tar xz + +wget -O - https://github.com/marler8997/zigup/releases/download/VERSION/zigup-ARCH-OS.tar.gz | tar xz +``` + + # Usage ```