@rayu-dev/rayu-cli 1.6.13 → 1.7.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -10
- package/dist/rayu.js +12411 -8006
- package/package.json +27 -10
package/README.md
CHANGED
|
@@ -13,14 +13,18 @@ with free model switching, full MCP support, and a complete built-in tool suite.
|
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
16
|
+
One command, any machine. The installer downloads the pre-bundled CLI (and a
|
|
17
|
+
private Node runtime if the machine has none), so it does not depend on your
|
|
18
|
+
Node/npm version or on write access to a global npm prefix:
|
|
19
|
+
|
|
16
20
|
```bash
|
|
17
|
-
|
|
21
|
+
# macOS / Linux
|
|
22
|
+
curl -fsSL https://rayucode.com/install | bash
|
|
18
23
|
```
|
|
19
24
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
npx @rayu-dev/rayu-cli
|
|
25
|
+
```powershell
|
|
26
|
+
# Windows (PowerShell)
|
|
27
|
+
irm https://rayucode.com/install.ps1 | iex
|
|
24
28
|
```
|
|
25
29
|
|
|
26
30
|
Then start:
|
|
@@ -29,6 +33,22 @@ Then start:
|
|
|
29
33
|
rayu
|
|
30
34
|
```
|
|
31
35
|
|
|
36
|
+
Read the script first if you prefer: <https://rayucode.com/install.sh>.
|
|
37
|
+
Full details, flags and uninstall instructions:
|
|
38
|
+
<https://rayucode.com/docs/01-installation>.
|
|
39
|
+
|
|
40
|
+
### Via npm (needs Node >= 18)
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm install -g @rayu-dev/rayu-cli
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Or run instantly without installing:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npx @rayu-dev/rayu-cli
|
|
50
|
+
```
|
|
51
|
+
|
|
32
52
|
### Package managers
|
|
33
53
|
|
|
34
54
|
```bash
|
|
@@ -45,10 +65,14 @@ yarn global add @rayu-dev/rayu-cli
|
|
|
45
65
|
rayu update
|
|
46
66
|
```
|
|
47
67
|
|
|
68
|
+
This works for both install methods: an installer-managed install re-runs the
|
|
69
|
+
installer, an npm install reinstalls from npm.
|
|
70
|
+
|
|
48
71
|
Or reinstall the latest directly:
|
|
49
72
|
|
|
50
73
|
```bash
|
|
51
|
-
|
|
74
|
+
curl -fsSL https://rayucode.com/install | bash # installer-managed
|
|
75
|
+
npm install -g @rayu-dev/rayu-cli # npm-managed
|
|
52
76
|
```
|
|
53
77
|
|
|
54
78
|
Prefer `rayu update`: it resolves the latest version once, installs that **exact**
|
|
@@ -338,10 +362,12 @@ https://github.com/Choeng-Rayu/rayu-cli/issues
|
|
|
338
362
|
git clone https://github.com/Choeng-Rayu/rayu-cli.git
|
|
339
363
|
cd rayu-cli/rayu
|
|
340
364
|
bun install
|
|
341
|
-
bun run dev
|
|
342
|
-
bun run build
|
|
343
|
-
bun
|
|
344
|
-
bun run
|
|
365
|
+
bun run dev # run from source
|
|
366
|
+
bun run build # bundle CLI to dist/rayu.js (alias for build:cli)
|
|
367
|
+
bun run build:cli # build standalone CLI bundle (dist/rayu.js)
|
|
368
|
+
bun run build:vscode # build Rayucode VS Code extension (.vsix)
|
|
369
|
+
bun test # run tests
|
|
370
|
+
bun run typecheck # TypeScript type checking
|
|
345
371
|
```
|
|
346
372
|
|
|
347
373
|
Built with [Bun](https://bun.sh), TypeScript, React/Ink, and a custom terminal renderer.
|