feat: newbie-safe defaults (loopback/no channels/skills) and switch install links to gitea

This commit is contained in:
2026-03-09 21:33:41 +08:00
parent 2007545b1d
commit da477378a7
5 changed files with 18 additions and 11 deletions

View File

@@ -30,18 +30,25 @@
### macOS
```bash
curl -fsSL https://raw.githubusercontent.com/736773174/openclaw-setup-cn/main/install-macos.sh | bash
curl -fsSL https://github.carrydelahaye.work/openclaw/openclaw-setup-cn/raw/branch/main/install-macos.sh | bash
```
### WindowsPowerShell
```powershell
iwr -useb https://raw.githubusercontent.com/736773174/openclaw-setup-cn/main/install-windows.ps1 | iex
iwr -useb https://github.carrydelahaye.work/openclaw/openclaw-setup-cn/raw/branch/main/install-windows.ps1 | iex
```
> 官方文档对 Windows 的推荐路径是 **WSL2**。如果你准备长期稳定使用,建议参考:
> https://docs.openclaw.ai/platforms/windows
### 当前默认配置(适合完全新手)
- Gateway 监听在本机回环地址(`127.0.0.1` / `loopback`
- 默认跳过搜索提供商配置(`--skip-search`
- 默认跳过渠道配置(`--skip-channels`
- 默认跳过 Skills 配置(`--skip-skills`
---
## 安装脚本做了什么
@@ -56,7 +63,7 @@ iwr -useb https://raw.githubusercontent.com/736773174/openclaw-setup-cn/main/ins
向导命令(脚本内部):
```bash
openclaw onboard --accept-risk --flow quickstart --install-daemon --node-manager npm --skip-skills
openclaw onboard --accept-risk --flow quickstart --install-daemon --gateway-bind loopback --node-manager npm --skip-search --skip-channels --skip-skills
```
---
@@ -81,13 +88,13 @@ openclaw gateway start
### macOS / Linux
```bash
curl -fsSL https://raw.githubusercontent.com/736773174/openclaw-setup-cn/main/configure-aws-bedrock.sh | bash
curl -fsSL https://github.carrydelahaye.work/openclaw/openclaw-setup-cn/raw/branch/main/configure-aws-bedrock.sh | bash
```
### Windows
```powershell
iwr -useb https://raw.githubusercontent.com/736773174/openclaw-setup-cn/main/configure-aws-bedrock.ps1 | iex
iwr -useb https://github.carrydelahaye.work/openclaw/openclaw-setup-cn/raw/branch/main/configure-aws-bedrock.ps1 | iex
```
脚本会提示输入:
@@ -102,13 +109,13 @@ iwr -useb https://raw.githubusercontent.com/736773174/openclaw-setup-cn/main/con
### macOS
```bash
curl -fsSL https://raw.githubusercontent.com/736773174/openclaw-setup-cn/main/uninstall-macos.sh | bash
curl -fsSL https://github.carrydelahaye.work/openclaw/openclaw-setup-cn/raw/branch/main/uninstall-macos.sh | bash
```
### Windows
```powershell
iwr -useb https://raw.githubusercontent.com/736773174/openclaw-setup-cn/main/uninstall-windows.ps1 | iex
iwr -useb https://github.carrydelahaye.work/openclaw/openclaw-setup-cn/raw/branch/main/uninstall-windows.ps1 | iex
```
---

View File

@@ -24,7 +24,7 @@ try {
$null = Get-Command openclaw -ErrorAction Stop
Write-Ok "已找到 OpenClaw。"
} catch {
Write-Err "未找到 OpenClaw。请先运行安装脚本`niwr -useb https://raw.githubusercontent.com/736773174/openclaw-setup-cn/main/install-windows.ps1 | iex"
Write-Err "未找到 OpenClaw。请先运行安装脚本`niwr -useb https://github.carrydelahaye.work/openclaw/openclaw-setup-cn/raw/branch/main/install-windows.ps1 | iex"
}
# ─────────────────────────────────────────────

View File

@@ -93,7 +93,7 @@ echo -e "${GREEN}${BOLD} OpenClaw 安装完成!开始配置...${NC}"
echo -e "${GREEN}${BOLD}========================================${NC}"
echo ""
openclaw onboard --accept-risk --flow quickstart --install-daemon --node-manager npm --skip-skills < /dev/tty
openclaw onboard --accept-risk --flow quickstart --install-daemon --gateway-bind loopback --node-manager npm --skip-search --skip-channels --skip-skills < /dev/tty
echo ""
echo -e "${GREEN}${BOLD}========================================${NC}"

View File

@@ -178,7 +178,7 @@ Write-Host " OpenClaw installed! Starting setup..." -ForegroundColor Green
Write-Host "========================================" -ForegroundColor Green
Write-Host ""
openclaw onboard --accept-risk --flow quickstart --install-daemon --node-manager npm --skip-skills
openclaw onboard --accept-risk --flow quickstart --install-daemon --gateway-bind loopback --node-manager npm --skip-search --skip-channels --skip-skills
Write-Host ""
Write-Host "========================================" -ForegroundColor Green

View File

@@ -179,7 +179,7 @@ Write-Host " OpenClaw 安装完成!开始配置..." -ForegroundColor Green
Write-Host "========================================" -ForegroundColor Green
Write-Host ""
openclaw onboard --accept-risk --flow quickstart --install-daemon --node-manager npm --skip-skills
openclaw onboard --accept-risk --flow quickstart --install-daemon --gateway-bind loopback --node-manager npm --skip-search --skip-channels --skip-skills
Write-Host ""
Write-Host "========================================" -ForegroundColor Green