summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-08-13 09:26:14 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-08-13 09:26:14 -0700
commit397c18810e3226a2ff25d0b90b9ee17354d40d2b (patch)
treeb21d5e9b3f6b2aa9f37676720ae67276a1b2909d
parente380cc7f7a06faf58c9ccbcea31a56a1e5d9589c (diff)
Added stack install instructions to INSTALL.
-rw-r--r--INSTALL22
1 files changed, 20 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 4f20c9d67..3cb428db9 100644
--- a/INSTALL
+++ b/INSTALL
@@ -8,8 +8,26 @@ There are also binary installers for Windows and Mac OS X.
If you are installing the development version from github, see also:
https://github.com/jgm/pandoc/wiki/Installing-the-development-version-of-pandoc
-Quick install
--------------
+Quick install with stack
+------------------------
+
+1. Install [stack](https://github.com/commercialhaskell/stack/wiki/Downloads).
+
+2. If you used git to get the pandoc source (as opposed to unpacking
+ a release tarball), do
+
+ git submodule update --init
+
+3. In the pandoc source directory,
+
+ stack install
+
+ You may be prompted to run `stack setup`, which will automatically
+ download the ghc compiler if needed.
+
+
+Quick install with cabal
+------------------------
1. Install the [Haskell platform]. This will give you [GHC] and
the [cabal-install] build tool.