Skip to content

Instantly share code, notes, and snippets.

@othree
Created June 17, 2015 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save othree/a9ff46edbd825f7182c4 to your computer and use it in GitHub Desktop.
Save othree/a9ff46edbd825f7182c4 to your computer and use it in GitHub Desktop.

https://www.haskell.org/ghc/download_ghc_7_8_3#macosx_x86_64

Download ghc-7.8.3-x86_64-apple-darwin.tar.xz

Unarchive

./configure
make install

cabal install cabal-install

.zshrc or .bashrc

PATH=$HOME/Library/Haskell/bin:$PATH

ghcjs

git clone https://github.com/ghcjs/ghcjs-prim.git
git clone https://github.com/ghcjs/ghcjs.git
cabal install ./ghcjs ./ghcjs-prim

ghcjs-boot --dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment