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.
To install locally:
$ npm install -D reach-installer
To install globally:
$ npm install -g reach-installer
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.