From 0441429fea98453711a5b740c708b452c65a219c Mon Sep 17 00:00:00 2001 From: Javier Neira Date: Mon, 6 Dec 2021 23:58:07 +0100 Subject: [PATCH] Describe hls installation --- docs/installation.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/installation.md b/docs/installation.md index d008f532b9..eaef1f26aa 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -1,5 +1,11 @@ # Installation +A typical haskell-language-server installation consists of: +- One binary file for each supported ghc version: `haskell-language-server-${ghcVersion}` +- Another binary named `haskell-language-version-wrapper` which analyzes the project or file in the current working dir + and calls the appropiate `haskell-language-server-${ghcVersion}` variant. + - It accepts all executable arguments from the plain `haskell-language-server` + ## Prerequisites - For standalone `.hs`/`.lhs` files, [ghc](https://www.haskell.org/ghc/) must be installed and on the PATH. The easiest way to install it is with [ghcup](https://www.haskell.org/ghcup/) or [chocolatey](https://community.chocolatey.org/packages/ghc) on Windows.