diff --git a/index.html b/index.html index e94202c..e9a710f 100644 --- a/index.html +++ b/index.html @@ -33,40 +33,46 @@
- To install the cabal executable you can - use ghcup (if you're using - Linux), the Haskell - Platform, install the cabal-install - package from your distributions package manager (if using Linux or Mac), - or download the source or prebuilt binary from - the Download page. + The recommended method to install the cabal executable + is to use ghcup, which can manage multiple + versions of cabal on Linux, Mac and Windows. + Alternatively, you can install cabal using your + distribution's package manager (if you are using Linux or Mac), or download the source + or prebuilt binary from the Download page. +
- If you already have the cabal executable you can upgrade it by running:
+ If you have installed cabal using ghcup,
+ then you can also upgrade it using ghcup.
+ If you installed the cabal executable using a different method,
+ you can upgrade it by running:
cabal install cabal-install
+ This will install the cabal executable in cabal's installdir
+ (usually ~/.local/bin). In order to use this executable,
+ you have to make sure that this directory appears in the $PATH
+ variable before the location where your current cabal executable is located.
+ You can check which version of the cabal executable
+ you are running by executing the command below.
+
+ cabal --version
+
- If the above command failed for any reason see the Update Troubleshooting section below. -
- -
- Sometimes the older installed version is still on the program search
- $PATH, you can check you're running the
- latest version with the command below. If it doesn't match the output of
- the cabal-install command above you'll
- need to replace the old executable with the new one.
-
-
- cabal --version
-
+ If the update failed for any reason, see the Update Troubleshooting
+ section below.
Start by installing the cabal executable (see the previous section) and the Haskell compiler ghc (see the GHC download docs).
+Start by installing the cabal executable + (see the previous section) and the Haskell compiler + ghc. + It is also recommended to use ghcup to install + ghc. +