Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1020 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 1020 Bytes

spin-reason-cli

Spin generator for CLI with Reason and Esy support.

opam spin new https://github.com/ocaml-templates/spin-reason-cli.git

You can see a generated project with Reason and Esy in the example/ directory.

Requirements

  • To use the opam package manager, you'll need opam >= 2.0 installed on your system. You can see the installation instructions at https://opam.ocaml.org/doc/Install.html.

    TL;DR: if you are running on Linux or macOS, you can run:

    sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)
    
  • To use the Esy package manager, you'll need esy installed on your system. You can see the installation instructions at https://esy.sh/docs/en/getting-started.html.

    TL;DR: you can install it with npm:

    npm install -g esy