fix(readme): Update README installation instructions to recommend automated installer script and clarify npm installation

This commit is contained in:
2025-11-09 11:30:39 +00:00
parent 60eadaf6a1
commit 89ffd61717
3 changed files with 19 additions and 21 deletions

View File

@@ -62,26 +62,7 @@ nupst service status
## 📥 Installation
### Via npm (NEW! - Recommended)
Install NUPST globally using npm:
```bash
npm install -g @serve.zone/nupst
```
**Benefits:**
- Automatic platform detection and binary download
- Downloads only the binary for your platform (~400-500MB)
- Easy updates via `npm update -g @serve.zone/nupst`
- Version management with npm
- Works with Node.js >=14
**Note:** The installation will download the appropriate binary from GitHub releases during the
postinstall step.
### Automated Installer Script
### Automated Installer Script (Recommended)
The installer script handles everything automatically:
@@ -136,6 +117,16 @@ chmod +x nupst
sudo mv nupst /usr/local/bin/nupst
```
### Alternative: Via npm
Alternatively, NUPST can be installed via npm:
```bash
npm install -g @serve.zone/nupst
```
**Note:** This method downloads the appropriate pre-compiled binary for your platform during installation.
### Verify Installation
```bash