Install FreeST

Table of contents

Pre-requisites

Before installing FreeST you need two things: Haskell and Stack. Check how to install them at Haskell’s official website (GHCup recomended).

Download and install FreeST

Download FreeST by cloning the repository:

$ git clone --branch fopss26 --depth 1 https://github.com/freest-lang/freest.git
$ cd freest
$ stack install

To type check and run a script use freest:

$ freest hello.fst

To run the interactive interpreter use freest -i:

$ freest -i

Be sure that the Stack’s install folder is part of your system’s path, or else you will not be able to run freest.