Skip to content

Instantly share code, notes, and snippets.

@sdiehl
Created November 9, 2019 14:22
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 sdiehl/0748506b121bf41e289062ed8a67f6f4 to your computer and use it in GitHub Desktop.
Save sdiehl/0748506b121bf41e289062ed8a67f6f4 to your computer and use it in GitHub Desktop.

Install Stack.

$ curl -sSL https://get.haskellstack.org/ | sh
$ stack setup

Install Unison from source.

$ git clone --recursive https://github.com/unisonweb/unison.git
$ cd unison
$ stack install

Change into a temporary directory and initialse a new Unison codebase.

$ mkdir ~/unison_project
$ cd ~/unison_project
$ unison -codebase . init
$ unison -codebase .

Inside the Unison shell install the base prelude.

.> pull https://github.com/unisonweb/base .base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment