... | ... | @@ -153,27 +153,27 @@ An up to date status of Nightlies can be checked on the [Nightly Availability Da |
|
|
|
|
|
With these qualifications firmly in mind, you can fetch GHC Nightlies via GHCup with the following commands.
|
|
|
|
|
|
First, [get GHCup](https://www.haskell.org/ghcup/).
|
|
|
* First, [get GHCup](https://www.haskell.org/ghcup/).
|
|
|
|
|
|
Then, to add the nightly channel, run:
|
|
|
Then, to add the nightly channel, run:
|
|
|
|
|
|
```sh
|
|
|
ghcup config add-release-channel https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml
|
|
|
```
|
|
|
```sh
|
|
|
ghcup config add-release-channel https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml
|
|
|
```
|
|
|
|
|
|
To list all nightlies from 2023, run:
|
|
|
* To list all nightlies from 2023, run:
|
|
|
|
|
|
```sh
|
|
|
ghcup list --show-nightly --tool=ghc --since=2023-01-01
|
|
|
```
|
|
|
```sh
|
|
|
ghcup list --show-nightly --tool=ghc --since=2023-01-01
|
|
|
```
|
|
|
|
|
|
Ways to install a nightly:
|
|
|
* Ways to install a nightly:
|
|
|
|
|
|
```sh
|
|
|
# by date
|
|
|
ghcup install ghc 2023-06-20
|
|
|
# by version
|
|
|
ghcup install ghc 9.7.20230619
|
|
|
# by tag
|
|
|
ghcup install ghc latest-nightly
|
|
|
``` |
|
|
```sh
|
|
|
# by date
|
|
|
ghcup install ghc 2023-06-20
|
|
|
# by version
|
|
|
ghcup install ghc 9.7.20230619
|
|
|
# by tag
|
|
|
ghcup install ghc latest-nightly
|
|
|
``` |