Add one-line installer + install.sh, richer release notes
install.sh detects arch, downloads the latest binary and installs it to PATH (like a `curl … | sh` installer). The release workflow now ships install.sh as an asset and PATCHes the release body with the one-line install command, so the release page shows how to install with a single command. README/wiki updated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011YPrEZVBpPVoCRyJz2exkZ
This commit is contained in:
13
README.md
13
README.md
@@ -11,12 +11,19 @@ lösenordet sparas aldrig.
|
||||
|
||||
👉 **Användning och alla kommandon:** se [wiki:n](https://gitea.brasse-pc.eu/brasse/Npm-cli/wiki).
|
||||
|
||||
## Installera (färdig binär)
|
||||
## Installera
|
||||
|
||||
Hämta senaste binär från [releases](https://gitea.brasse-pc.eu/brasse/Npm-cli/releases):
|
||||
En rad (hämtar senaste binär för din arkitektur och lägger den i PATH):
|
||||
|
||||
```sh
|
||||
curl -fsSL https://gitea.brasse-pc.eu/brasse/Npm-cli/raw/branch/main/install.sh | sh
|
||||
```
|
||||
|
||||
Miljövariabler: `NPMCTL_INSTALL_DIR` (installkatalog), `NPMCTL_VERSION` (release-tag).
|
||||
|
||||
Eller manuellt från [releases](https://gitea.brasse-pc.eu/brasse/Npm-cli/releases):
|
||||
|
||||
```sh
|
||||
# välj arkitektur: x64 eller arm64
|
||||
curl -fsSL -o npmctl https://gitea.brasse-pc.eu/brasse/Npm-cli/releases/download/latest/npmctl-linux-x64
|
||||
chmod +x npmctl && sudo mv npmctl /usr/local/bin/
|
||||
npmctl --help
|
||||
|
||||
Reference in New Issue
Block a user