feat(installer): switch installer/docs to use main branch; add automated installer instructions and update CI examples to use the installer; add release registries and access level in npmextra.json
This commit is contained in:
20
readme.md
20
readme.md
@@ -32,6 +32,20 @@ SmartCLI Router
|
||||
|
||||
## 📥 Installation
|
||||
|
||||
### Automated Installer (Recommended)
|
||||
|
||||
The easiest way to install szci is using the automated installer script. It handles platform detection, binary download, and global setup:
|
||||
|
||||
```sh
|
||||
curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash
|
||||
```
|
||||
|
||||
To install a specific version:
|
||||
|
||||
```sh
|
||||
curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash -s -- --version v7.0.0
|
||||
```
|
||||
|
||||
### Via NPM (downloads pre-compiled binary)
|
||||
|
||||
```sh
|
||||
@@ -234,7 +248,7 @@ stages:
|
||||
- deploy
|
||||
|
||||
before_script:
|
||||
- npm install -g @ship.zone/szci
|
||||
- curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | bash
|
||||
|
||||
prepare:
|
||||
stage: prepare
|
||||
@@ -278,7 +292,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install szci
|
||||
run: npm install -g @ship.zone/szci
|
||||
run: curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash
|
||||
|
||||
- name: Setup Node.js
|
||||
run: szci node install stable
|
||||
@@ -305,7 +319,7 @@ steps:
|
||||
- name: ci
|
||||
image: node:22
|
||||
commands:
|
||||
- npm install -g @ship.zone/szci
|
||||
- curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | bash
|
||||
- szci node install stable
|
||||
- szci npm install
|
||||
- szci docker build
|
||||
|
||||
Reference in New Issue
Block a user