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.
-
To use the
opam
package manager, you'll needopam >= 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 needesy
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