From a09d9bd0062e43ff45961c80ebd26d919af107ac Mon Sep 17 00:00:00 2001 From: 1Regina <46968488+1Regina@users.noreply.github.com> Date: Wed, 14 Jul 2021 16:44:08 +0800 Subject: [PATCH] install and upgrade stack --- doc/gf-developers.t2t | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/gf-developers.t2t b/doc/gf-developers.t2t index fafc3f4c4..840fa3762 100644 --- a/doc/gf-developers.t2t +++ b/doc/gf-developers.t2t @@ -30,6 +30,21 @@ If the Haskell Tool Stack is already installed, enter the following command in a **On Mac OS and Windows**, the tools can be downloaded from their respective web sites, as described below. +=== Stack === +The primary installation method is via ``stack``. To install [stack https://docs.haskellstack.org/en/stable/README/] +- **On Mac and other Unix**, do either +``` +curl -sSL https://get.haskellstack.org/ | sh +``` +**OR** +``` +wget -qO- https://get.haskellstack.org/ | sh +``` +- **On Windows and other operating systems** :check out the install and [upgrade guide https://docs.haskellstack.org/en/stable/install_and_upgrade] + +If you already have stack installed, upgrade it to the latest version by running: ``stack upgrade`` + + === Git === To get the GF source code, you also need //Git//.