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

@@ -1,5 +1,12 @@
# Changelog
## 2025-11-09 - 5.1.11 - fix(readme)
Update README installation instructions to recommend automated installer script and clarify npm installation
- Replace the previous 'Via npm (NEW! - Recommended)' section with a clear 'Automated Installer Script (Recommended)' section and example curl installer.
- Move npm installation instructions into an 'Alternative: Via npm' subsection and clarify that the npm package downloads the appropriate pre-compiled binary for the platform during installation.
- Remove the 'NEW!' badge and streamline notes about binary downloads and installation methods.
## 2025-10-23 - 5.1.10 - fix(config)
Synchronize deno.json version with package.json, tidy formatting, and add local tooling settings

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

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/nupst',
version: '5.1.10',
version: '5.1.11',
description: 'Network UPS Shutdown Tool - Monitor SNMP-enabled UPS devices and orchestrate graceful system shutdowns during power emergencies'
}