diff --git a/README.md b/README.md index 30ffd72..860e2d5 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,23 @@ Download and manage zig compilers. +# How to Install + +Download and extract the applicable archive from [Releases](https://github.com/marler8997/zigup/releases). + +Here are some options to do this from the command-line: +```sh +# with curl/tar +curl -L https://github.com/marler8997/zigup/releases/download/VERSION/zigup-ARCH-OS.tar.gz | tar xz + +# example: +curl -L https://github.com/marler8997/zigup/releases/download/v2024_05_05/zigup-x86_64-linux.tar.gz | tar xz + +# with wget +wget -O - https://github.com/marler8997/zigup/releases/download/VERSION/zigup-ARCH-OS.tar.gz | tar xz +``` + + # Usage ```