Skip to content

Instantly share code, notes, and snippets.

@sdiehl
Created November 9, 2019 14:22
Show Gist options
  • 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