From 81e7c0280720571345e6159974aa25c370a134cc Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 18 Mar 2022 18:31:16 +0100 Subject: [PATCH] Update docs --- docs/install.md | 110 +++++++++++++++++++++++------------------------- 1 file changed, 53 insertions(+), 57 deletions(-) diff --git a/docs/install.md b/docs/install.md index 9823c99..ec06aa2 100644 --- a/docs/install.md +++ b/docs/install.md @@ -22,6 +22,8 @@ For Windows, run this in a PowerShell session: Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $true ``` +There's also a [youtube video](https://www.youtube.com/watch?v=bB4fmQiUYPw) explaining installation on windows. + If you want to know what these scripts do, check out the [source code at the repository](https://gitlab.haskell.org/haskell/ghcup-hs/-/tree/master/scripts/bootstrap). Advanced users may want to perform a [manual installation](#manual-install) and GPG verify the binaries. ### Which versions get installed? @@ -35,102 +37,96 @@ Also see [tags and shortcuts](../guide/#tags-and-shortcuts) for more information ## First steps 1. To get started with creating a Haskell project, follow the [Getting Started with Haskell and Cabal](https://cabal.readthedocs.io/en/stable/getting-started.html) guide -2. To learn Haskell, try any of those: +2. To understand the difference and overlap of `stack` and `cabal`, read on [here](https://gist.github.com/merijn/8152d561fb8b011f9313c48d876ceb07) +3. To learn Haskell, try any of those: - A beginner friendly [4-lectures course](https://github.com/haskell-beginners-2022/course-plan) with exercises (by [Kowainik](https://kowainik.github.io/)) - An in-depth university [CIS 194 Haskell course](https://www.cis.upenn.edu/~cis194/spring13/) including exercises (by [Brent Yorgey](https://byorgey.wordpress.com/)) -3. To learn more about Haskell Toolchain management, check out the [ghcup user guide](./guide.md) +4. To learn more about Haskell Toolchain management, check out the [ghcup user guide](./guide.md) ## Uninstallation On linux, just run `ghcup nuke`, then make sure any ghcup added lines in your `~/.bashrc` (or similar) are removed. -On windows, double-click on the `Uninstall Haskell.ps1` PowerShell script on your Desktop. +On windows, right click on the `Uninstall Haskell.ps1` PowerShell script on your Desktop and select *Run with PowerShell*. ## Supported tools GHCup supports the following tools, which are also known as the **Haskell Toolchain**: -
- Show all supported GHC versions - +
Show all supported GHC versions - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + +
GHC VersionTags
7.10.3base-4.8.2.0
8.0.2base-4.9.1.0
8.2.2base-4.10.1.0
8.4.1base-4.11.0.0
8.4.2base-4.11.1.0
8.4.3base-4.11.1.0
8.4.4base-4.11.1.0
8.6.1base-4.12.0.0
8.6.2base-4.12.0.0
8.6.3base-4.12.0.0
8.6.4base-4.12.0.0
8.6.5base-4.12.0.0
8.8.1base-4.13.0.0
8.8.2base-4.13.0.0
8.8.3base-4.13.0.0
8.8.4base-4.13.0.0
8.10.1base-4.14.0.0
8.10.2base-4.14.1.0
8.10.3base-4.14.1.0
8.10.4base-4.14.1.0
8.10.5base-4.14.2.0
8.10.6base-4.14.3.0
8.10.7recommended, base-4.14.3.0
9.0.1base-4.15.0.0
9.0.2base-4.15.1.0
9.2.1base-4.16.0.0
9.2.2latest, base-4.16.1.0
9.2.1base-4.16.0.0
9.0.2base-4.15.1.0
9.0.1base-4.15.0.0
8.10.7recommended, base-4.14.3.0
8.10.6base-4.14.3.0
8.10.5base-4.14.2.0
8.10.4base-4.14.1.0
8.10.3base-4.14.1.0
8.10.2base-4.14.1.0
8.10.1base-4.14.0.0
8.8.4base-4.13.0.0
8.8.3base-4.13.0.0
8.8.2base-4.13.0.0
8.8.1base-4.13.0.0
8.6.5base-4.12.0.0
8.6.4base-4.12.0.0
8.6.3base-4.12.0.0
8.6.2base-4.12.0.0
8.6.1base-4.12.0.0
8.4.4base-4.11.1.0
8.4.3base-4.11.1.0
8.4.2base-4.11.1.0
8.4.1base-4.11.0.0
8.2.2base-4.10.1.0
8.0.2base-4.9.1.0
7.10.3base-4.8.2.0
-
-
- Show all supported cabal-install versions - +
Show all supported cabal-install versions +
- - - - - - + + + + + +
Cabal VersionTags
2.4.1.0
3.0.0.0
3.2.0.0
3.4.0.0
3.4.1.0
3.6.0.0
3.6.2.0latest, recommended
3.6.0.0
3.4.1.0
3.4.0.0
3.2.0.0
3.0.0.0
2.4.1.0
-
-
- Show all supported HLS versions +
Show all supported HLS versions - - - - - - - + + + + + + +
HLS VersionTags
1.1.0
1.2.0
1.3.0
1.4.0
1.5.0
1.5.1
1.6.0.0
1.6.1.0latest, recommended
1.6.0.0
1.5.1
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
-
- Show all supported Stack versions +
Show all supported Stack versions - - - + + +
Stack VersionTags
2.5.1
2.7.1
2.7.3
2.7.5latest, recommended
2.7.3
2.7.1
2.5.1