From da477378a7a0948445f900d227e90b07de683698 Mon Sep 17 00:00:00 2001 From: openclaw Date: Mon, 9 Mar 2026 21:33:41 +0800 Subject: [PATCH] feat: newbie-safe defaults (loopback/no channels/skills) and switch install links to gitea --- README.md | 21 ++++++++++++++------- configure-aws-bedrock.ps1 | 2 +- install-macos.sh | 2 +- install-windows-en.ps1 | 2 +- install-windows.ps1 | 2 +- 5 files changed, 18 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5f9b9ed..fab5093 100644 --- a/README.md +++ b/README.md @@ -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 ``` ### Windows(PowerShell) ```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 ``` --- diff --git a/configure-aws-bedrock.ps1 b/configure-aws-bedrock.ps1 index 9eea1b9..b181fbd 100644 --- a/configure-aws-bedrock.ps1 +++ b/configure-aws-bedrock.ps1 @@ -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" } # ───────────────────────────────────────────── diff --git a/install-macos.sh b/install-macos.sh index 456ac8a..0625848 100755 --- a/install-macos.sh +++ b/install-macos.sh @@ -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}" diff --git a/install-windows-en.ps1 b/install-windows-en.ps1 index db17ae9..7e5996f 100644 --- a/install-windows-en.ps1 +++ b/install-windows-en.ps1 @@ -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 diff --git a/install-windows.ps1 b/install-windows.ps1 index 8ec8d93..94cf836 100644 --- a/install-windows.ps1 +++ b/install-windows.ps1 @@ -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