From 7c8929fe9f1e5bed7f6dc38762142eaa015ce420 Mon Sep 17 00:00:00 2001 From: Ron Toland Date: Sat, 26 Dec 2020 06:33:32 -0800 Subject: [PATCH] add default install instructions for apple silicon --- www/index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/index.html b/www/index.html index 1d8ebff..d21d2ad 100644 --- a/www/index.html +++ b/www/index.html @@ -104,9 +104,11 @@
-

To install Haskell, if you are running Linux, macOS, FreeBSD or Windows Subsystem for Linux, run the following +

To install Haskell, if you are running Linux, macOS (on Intel), FreeBSD or Windows Subsystem for Linux, run the following in your terminal (as a user other than root), then follow the onscreen instructions.

curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
+

For macOS on Apple Silicon, run this instead:

+
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | arch -x86_64 /bin/bash

If you don't like curl | sh, see other installation methods.

@@ -149,9 +151,11 @@
-

To install Haskell, if you are running Linux, macOS, FreeBSD or Windows Subsystem for Linux, run the following +

To install Haskell, if you are running Linux, macOS (on Intel), FreeBSD or Windows Subsystem for Linux, run the following in your terminal (as a user other than root), then follow the onscreen instructions.

curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
+

For macOS on Apple Silicon, run this instead:

+
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | arch -x86_64 /bin/bash

If you don't like curl | sh, see other installation methods.