From 2b4c02455fc8f41cc450c50907c7c035f6a5945d Mon Sep 17 00:00:00 2001 From: Shawn Presser Date: Sun, 5 Mar 2023 04:14:06 -0600 Subject: [PATCH] Update README for mac users --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index a94aa72..382a792 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,21 @@ sys 2m30.847s To download all model weights, `cd` into the directory you want them, then run this: +Linux: + ```sh curl -o- https://raw.githubusercontent.com/shawwn/llama-dl/56f50b96072f42fb2520b1ad5a1d6ef30351f23c/llama.sh | bash ``` +Mac: + +```sh +brew install bash +curl -o- https://raw.githubusercontent.com/shawwn/llama-dl/56f50b96072f42fb2520b1ad5a1d6ef30351f23c/llama.sh | $(brew --prefix)/bin/bash +``` + +(Sorry mac users; they use some array syntax in the script that isn't supported on the version of bash that ships with Mac.) + Running random bash scripts generally isn't a good idea, but I'll stake my personal reputation on the fact that this link is safe. (It points to a specific SHA-1 hash rather than https://raw.githubusercontent.com/shawwn/llama-dl/main/llama.sh so that it's still safe even in the event that my repo or account got compromised.) ## How do I know this is safe?