1# Installation information
3If you are having difficulty installing the PureScript compiler, feel free to
4ask for help! A good place is the #purescript IRC channel on Freenode, or
5alternatively Stack Overflow.
7## Using prebuilt binaries
9The prebuilt binaries are compiled with GHC 7.10.3, and therefore they should
10run on any operating system supported by GHC 7.10.3, such as:
12* Windows 2000 or later,
14* Linux ??? (we're not sure what the minimum version is).
16This list is not exhaustive. If your OS is too old or not listed, or if the
17binaries fail to run, you may be able to install the compiler by building it
18from source; see below.
20It's probably safe to assume that other prebuilt distributions (eg, Homebrew,
21Chocolatey, AUR, npm) use the same binaries, and therefore have the same
24## Compiling from source
26GHC 7.10.1 or newer is required to compile from source. The easiest way is to
30$ stack install --resolver=nightly purescript
33This will then copy the compiler and utilities into `~/.local/bin`.
36If 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).
39If you don't have ghc installed yet, stack will prompt you to run `stack setup`
40which will install ghc for you.
42## The "curses" library
44`psci` depends on the `curses` library (via the Haskell package `terminfo`). If
45you are having difficulty running the compiler, it may be because the `curses`
48On Linux, you will probably need to install `ncurses` manually. On Ubuntu, for
49example, this can be done by running:
52$ sudo apt-get install libncurses5-dev
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list