https://github.com/gilgames000/reach-installer
A simple Node.js installer for the Reach command line tool.
https://github.com/gilgames000/reach-installer
install installer reach reach-sh
Last synced: 3 months ago
JSON representation
A simple Node.js installer for the Reach command line tool.
- Host: GitHub
- URL: https://github.com/gilgames000/reach-installer
- Owner: Gilgames000
- License: mit
- Created: 2022-08-11T09:39:48.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-11T10:57:46.000Z (almost 3 years ago)
- Last Synced: 2025-02-17T00:31:30.416Z (4 months ago)
- Topics: install, installer, reach, reach-sh
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/reach-installer
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reach-installer
A simple Node.js installer for the [Reach](https://reach.sh) 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:
```bash
$ npm install -D reach-installer
```To install globally:
```bash
$ npm install -g reach-installer
```## Usage
You can use `reach` in your package scripts like this:
```js
// package.json:{
...
"scripts": {
"compile": "REACH_CONNECTOR_MODE=ALGO reach compile"
}
}
```Alternatively, you can run the local `reach` executable using `npx`:
```bash
$ 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.