git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #1522 from kRITZCREEK/improve-install-instructions
eb83102Phil Freeman
INSTALL.md+12−2
@@ -24,15 +24,25 @@ requirements.
24## Compiling from source
24## Compiling from source
25
25
26GHC 7.6.1 or newer is required to compile from source. The easiest way is to
26GHC 7.6.1 or newer is required to compile from source. The easiest way is to
27−use `cabal-install`:
27+use stack:
28
28
29```
29```
30−$ cabal update && cabal install purescript
30+$ stack install purescript
31```
31```
32
32
33+This will then copy the compiler and utilities into `~/.local/bin`.
34+
35+
36+If you don't have stack installed yet there are install instructions
37+[here](https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md).
38+
39+If you don't have ghc installed yet, stack will prompt you to run `stack setup`
40+which will install ghc for you.
41+
33The PureScript compiler has been known to run on OS X 10.6 when built with GHC
42The PureScript compiler has been known to run on OS X 10.6 when built with GHC
347.6.
437.6.
35
44
45+
36## The "curses" library
46## The "curses" library
37
47
38`psci` depends on the `curses` library (via the Haskell package `terminfo`). If
48`psci` depends on the `curses` library (via the Haskell package `terminfo`). If