Learn how to install Idris locally to solve Exercism's exercises on your own machine
The Idris track uses Pack, an Idris2 Package Manager.
sudo apt update
sudo apt install chezscheme curl gcc git libgmp-dev make
Make sure you have a recent git, version 2.35.1 or later.
Configure Chez Scheme with support for threads.
git version
sudo apt update
sudo apt install curl gcc libgmp-dev libncurses5-dev libx11-dev make
git clone https://github.com/cisco/ChezScheme.git
cd ChezScheme
./configure --threads
make
sudo make install
cd ..
which scheme
MacOS users can install Chez Scheme with Homebrew:
brew update
brew install chezscheme
bash -c "$(curl -fsSL https://raw.githubusercontent.com/stefan-hoeck/idris2-pack/main/install.bash)"
export PATH="$HOME/.pack/bin:$PATH"
pack info
See Pack's detailed installation instructions.
Stefan Höck provides Ubuntu-based Docker images with Pack installed.