Install FreeST
Download and install FreeST
Pre-requisites:
- Git
- Haskell and Stack. Check how to install them at Haskell’s official website (GHCup recomended).
Clone the repository and install:
git clone --branch dev --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.
Download and install the Visual Studio Code extension
Pre-requisites:
- FreeST, installed as above
- Visual Studio Code 1.93 or later
- Git and Node.js 22 or later (for building, while it is not available in the extension marketplace)
Clone the repository and build:
git clone --branch main --depth 1 https://github.com/freest-lang/vscode-freest.git
cd vscode-freest
npm install
npx vsce package
Then install the .vsix file: in the Extensions view, open the … menu and choose Install from VSIX…, or run the following command (requires code in your PATH):
code --install-extension freest-0.0.0.vsix
If freest is not on your PATH, set freest.path in the extension settings to the full path of the freest executable.