From 2b3c50152757bdc9bbccb3fc047e01219ad0a2bd Mon Sep 17 00:00:00 2001 From: Francesco Ariis Date: Sun, 4 Jun 2023 21:12:38 +0200 Subject: [PATCH] Show how to install cabal-head via GHCup --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cafb7e85936..a5ebfd010cb 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,14 @@ Ways to get the `cabal-install` binary _Getting unreleased versions of `cabal-install`_: gives you a chance to try out yet-unreleased features. Currently, we only provide binaries for `x86_64` platforms. -1. _[GitHub preview release built from the tip of the `master` branch](https://github.com/haskell/cabal/releases/tag/cabal-head)_: +1. _GitHub preview release built from the tip of the `master` branch_: [download from GitHub](https://github.com/haskell/cabal/releases/tag/cabal-head) or use this GHCup command to install: + + ``` + ghcup install cabal -u https://github.com/haskell/cabal/releases/download/cabal-head/cabal-head-Linux-x86_64.tar.gz head + ``` + + Replace "Linux" with "Windows" or "macOS" as appropriate. + 2. Even more cutting-edge binaries built from pull requests are always available from the `Validate` worklow page on GitHub, at the very bottom of the page.