fix(readme): Update README installation instructions to recommend automated installer script and clarify npm installation
This commit is contained in:
31
readme.md
31
readme.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user