feat: support direct pipe execution via curl/wget and auto-bootstrap
This commit is contained in:
@@ -35,17 +35,25 @@ sb-core/
|
||||
|
||||
## 🚀 快速使用
|
||||
|
||||
### 1. 部署与运行
|
||||
### 1. 一键脚本命令(推荐)
|
||||
|
||||
在 Linux VPS(Ubuntu / Debian / CentOS / Rocky 等)以 `root` 权限执行:
|
||||
在 Linux VPS(Ubuntu / Debian / CentOS / Rocky / Alpine 等)以 `root` 权限直接执行以下任一命令:
|
||||
|
||||
```bash
|
||||
bash <(curl -Ls https://git.draws.qzz.io/jocay/singbox-script/raw/branch/main/sb.sh)
|
||||
```
|
||||
或者:
|
||||
```bash
|
||||
bash <(wget -qO- https://git.draws.qzz.io/jocay/singbox-script/raw/branch/main/sb.sh)
|
||||
```
|
||||
|
||||
**或者通过 Git Clone 手动部署:**
|
||||
```bash
|
||||
git clone https://git.draws.qzz.io/jocay/singbox-script.git
|
||||
cd singbox-script
|
||||
chmod +x sb.sh lib/*.sh
|
||||
./sb.sh
|
||||
```
|
||||
|
||||
首次运行后会自动建立全局快捷指令,之后在系统任意目录输入 `sb` 即可调出菜单。
|
||||
|
||||
### 2. 交互式菜单功能
|
||||
|
||||
Reference in New Issue
Block a user