@duheso/zerocli 1.0.2 → 1.0.4
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 +29 -0
- package/dist/cli.mjs +506 -307
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,35 @@ Use OpenAI-compatible APIs, Gemini, GitHub Models, Codex OAuth, Codex, Ollama, A
|
|
|
23
23
|
|
|
24
24
|
## Quick Start
|
|
25
25
|
|
|
26
|
+
### Prerequisites
|
|
27
|
+
|
|
28
|
+
**Node.js 20 or later is required.** Verify with `node --version`.
|
|
29
|
+
|
|
30
|
+
If your distro ships an older Node.js (common on AlmaLinux, CentOS, Fedora, RHEL), upgrade first:
|
|
31
|
+
|
|
32
|
+
<details>
|
|
33
|
+
<summary>AlmaLinux / CentOS / RHEL / Fedora — upgrade Node.js</summary>
|
|
34
|
+
|
|
35
|
+
Using [nvm](https://github.com/nvm-sh/nvm) (recommended, no root required):
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
|
39
|
+
source ~/.bashrc # or ~/.zshrc / ~/.profile
|
|
40
|
+
nvm install 22
|
|
41
|
+
nvm use 22
|
|
42
|
+
node --version # should print v22.x.x
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Or using the NodeSource RPM repository (requires root):
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
# Fedora / RHEL 9+ / AlmaLinux 9+
|
|
49
|
+
curl -fsSL https://rpm.nodesource.com/setup_22.x | sudo bash -
|
|
50
|
+
sudo dnf install -y nodejs
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
</details>
|
|
54
|
+
|
|
26
55
|
### Install
|
|
27
56
|
|
|
28
57
|
```bash
|