Spin generator for CLI with Reason and Esy support.
opam spin new https://github.com/ocaml-templates/spin-reason-cli.gitYou can see a generated project with Reason and Esy in the example/ directory.
-
To use the
opampackage manager, you'll needopam >= 2.0installed 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
Esypackage manager, you'll needesyinstalled 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