2
2
3
3
# The Haskell Tool Stack
4
4
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.
8
9
9
10
<img src =" https://i.imgur.com/WW69oTj.gif " width =" 50% " align =" right " >
10
11
@@ -19,35 +20,47 @@ Stack features:
19
20
20
21
## How to install Stack
21
22
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
23
24
on Windows.
24
25
25
- For most Unix-like operating systems, the easiest way to install Stack is to
26
- command:
26
+ === "Unix-like"
27
27
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:
31
30
32
- or:
31
+ ~~~text
32
+ curl -sSL https://get.haskellstack.org/ | sh
33
+ ~~~
33
34
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
37
56
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.
42
59
43
- For other operating systems and direct downloads, check out the
44
- [ install and upgrade guide] ( install_and_upgrade.md ) .
60
+ === "Other/direct downloads"
45
61
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).
51
64
52
65
## How to upgrade Stack
53
66
0 commit comments