Installation

Installation

Homebrew(macOS)

$ brew tap hamler-lang/hamler
$ brew install hamler

Install from source code(macOS)

  1. Install Erlang
$brew install erlang@22
  1. Install Stack

Stack tutoriall <https://docs.haskellstack.org/en/stable/install_and_upgrade/>

  1. Clone from the Git repo
$ git clone https://github.com/hamler-lang/hamler.git
  1. Install Hamler
$ cd hamler
$ make
$ make install
$ sudo mkdir -p /usr/local/lib/hamler/bin
$ sudo cp repl/replsrv /usr/local/lib/hamler/bin/
$ sudo cp -rv lib /usr/local/lib/hamler/
$ sudo cp -rv ebin /usr/local/lib/hamler/