@gilgames/reach-install

A Node.js installer for the Reach command line tool.


Keywords
install, installer, reach, reach-sh
License
MIT
Install
npm install @gilgames/reach-install@0.1.0

Documentation

reach-installer

A simple Node.js installer for the Reach command line tool. Can be used to install reach globally or within your local package to e.g. automate package scripts.

Installation

To install locally:

$ npm install -D reach-installer

To install globally:

$ npm install -g reach-installer

Usage

You can use reach in your package scripts like this:

// package.json:

{
  ...
  "scripts": {
    "compile": "REACH_CONNECTOR_MODE=ALGO reach compile"
  }
}

Alternatively, you can run the local reach executable using npx:

$ npx reach compile

If you installed the package globally it should be available in your PATH and you should be able to just run reach from your terminal emulator.