22
33# The Haskell Tool Stack
44
5- Stack is a cross-platform program for developing
6- [ Haskell] ( https://www.haskell.org/ ) projects. It is aimed at Haskellers both new
7- and experienced. It aims to support fully users on Linux, macOS and Windows.
5+ Welcome to the [ Haskell] ( https://www.haskell.org/ ) programming language and the
6+ Haskell Tool Stack (Stack)! Stack is a program for developing Haskell projects.
7+ It is aimed at Haskellers both new and experienced. It is cross-platform and
8+ aims to support fully users on Linux, macOS and Windows.
89
910<img src =" https://i.imgur.com/WW69oTj.gif " width =" 50% " align =" right " >
1011
@@ -19,35 +20,47 @@ Stack features:
1920
2021## How to install Stack
2122
22- Stack can be installed on most Unix-like operating systems, including macOS, and
23+ Stack can be installed on most Unix-like operating systems ( including macOS) and
2324on Windows.
2425
25- For most Unix-like operating systems, the easiest way to install Stack is to
26- command:
26+ === "Unix-like"
2727
28- ~~~ text
29- curl -sSL https://get.haskellstack.org/ | sh
30- ~~~
28+ For most Unix-like operating systems, the easiest way to install Stack is to
29+ command:
3130
32- or:
31+ ~~~text
32+ curl -sSL https://get.haskellstack.org/ | sh
33+ ~~~
3334
34- ~~~ text
35- wget -qO- https://get.haskellstack.org/ | sh
36- ~~~
35+ or:
36+
37+ ~~~text
38+ wget -qO- https://get.haskellstack.org/ | sh
39+ ~~~
40+
41+ !!! note
42+
43+ The script at [get.haskellstack.org](https://get.haskellstack.org/) will
44+ ask for root access using `sudo`. It needs such access in order to use
45+ your platform's package manager to install dependencies and to install
46+ to `/usr/local/bin`. If you prefer more control, follow the manual
47+ installation instructions in the
48+ [install and upgrade guide](install_and_upgrade.md).
49+
50+ === "Windows"
51+
52+ On 64-bit Windows, you can download and install the
53+ [Windows installer](https://get.haskellstack.org/stable/windows-x86_64-installer.exe).
54+
55+ !!! note
3756
38- On 64-bit Windows, you can download and install the
39- [ Windows installer] ( https://get.haskellstack.org/stable/windows-x86_64-installer.exe ) .
40- Note that systems with antivirus software may need to add Stack to the list of
41- 'trusted' applications.
57+ Systems with antivirus software may need to add Stack to the list of
58+ 'trusted' applications.
4259
43- For other operating systems and direct downloads, check out the
44- [ install and upgrade guide] ( install_and_upgrade.md ) .
60+ === "Other/direct downloads"
4561
46- The [ get.haskellstack.org] ( https://get.haskellstack.org/ ) script referred to
47- above will ask for root access using ` sudo ` . It needs such access in order to
48- use your platform's package manager to install dependencies and to install to
49- ` /usr/local/bin ` . If you prefer more control, follow the manual installation
50- instructions in the [ install and upgrade guide] ( install_and_upgrade.md ) .
62+ For other operating systems and direct downloads, see the
63+ [install and upgrade guide](install_and_upgrade.md).
5164
5265## How to upgrade Stack
5366
0 commit comments