README.md

1.2 KB · 54 lines · markdown

1# brt — Brew Remote Tools
2
3A Swiss-army CLI for networking, editing, command chains, and secure remote terminal access.
4
5## Install
6
7The site and `brt -help` / `brtwin -help` detect your OS and show the matching one-liner.
8
9### macOS / Linux
10
11```bash
12curl -fsSL https://brt.sushii.dev/install.sh | sh
13```
14
15### Windows
16
17```powershell
18irm https://brt.sushii.dev/win/install.ps1 | iex
19```
20
21On Windows the command is **`brtwin`** (not `brt`). Remote access works across platforms — Mac `brt -access connect` to Windows `brtwin -access serve` and vice versa.
22
23The install script fetches CLI files from `https://brt.sushii.dev/`.
24
25## Quick start
26
27```bash
28brt -help
29brt -ip check
30brt -dns google.com
31brt -run 'echo "hello";wait 2;echo "bye"'
32brt -access serve
33```
34
35## Website & distribution
36
37The Next.js site in `website/` hosts the docs, wiki, and all installable files under `website/public/`:
38
39```bash
40cd website && npm install && npm run dev
41```
42
43`npm run sync` copies the CLI into `website/public/` before dev/build so these URLs work:
44
45- `https://brt.sushii.dev/install.sh`
46- `https://brt.sushii.dev/brt`
47- `https://brt.sushii.dev/lib/*`
48- `https://brt.sushii.dev/win/install.ps1` (Windows)
49- `https://brt.sushii.dev/win/*`
50
51## License
52
53MIT
54