feat: newbie-safe defaults (loopback/no channels/skills) and switch install links to gitea
This commit is contained in:
21
README.md
21
README.md
@@ -30,18 +30,25 @@
|
|||||||
### macOS
|
### macOS
|
||||||
|
|
||||||
```bash
|
```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)
|
### Windows(PowerShell)
|
||||||
|
|
||||||
```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**。如果你准备长期稳定使用,建议参考:
|
> 官方文档对 Windows 的推荐路径是 **WSL2**。如果你准备长期稳定使用,建议参考:
|
||||||
> https://docs.openclaw.ai/platforms/windows
|
> 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
|
```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
|
### macOS / Linux
|
||||||
|
|
||||||
```bash
|
```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
|
### Windows
|
||||||
|
|
||||||
```powershell
|
```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
|
### macOS
|
||||||
|
|
||||||
```bash
|
```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
|
### Windows
|
||||||
|
|
||||||
```powershell
|
```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
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ try {
|
|||||||
$null = Get-Command openclaw -ErrorAction Stop
|
$null = Get-Command openclaw -ErrorAction Stop
|
||||||
Write-Ok "已找到 OpenClaw。"
|
Write-Ok "已找到 OpenClaw。"
|
||||||
} catch {
|
} 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"
|
||||||
}
|
}
|
||||||
|
|
||||||
# ─────────────────────────────────────────────
|
# ─────────────────────────────────────────────
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ echo -e "${GREEN}${BOLD} OpenClaw 安装完成!开始配置...${NC}"
|
|||||||
echo -e "${GREEN}${BOLD}========================================${NC}"
|
echo -e "${GREEN}${BOLD}========================================${NC}"
|
||||||
echo ""
|
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 ""
|
||||||
echo -e "${GREEN}${BOLD}========================================${NC}"
|
echo -e "${GREEN}${BOLD}========================================${NC}"
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ Write-Host " OpenClaw installed! Starting setup..." -ForegroundColor Green
|
|||||||
Write-Host "========================================" -ForegroundColor Green
|
Write-Host "========================================" -ForegroundColor Green
|
||||||
Write-Host ""
|
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 ""
|
||||||
Write-Host "========================================" -ForegroundColor Green
|
Write-Host "========================================" -ForegroundColor Green
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ Write-Host " OpenClaw 安装完成!开始配置..." -ForegroundColor Green
|
|||||||
Write-Host "========================================" -ForegroundColor Green
|
Write-Host "========================================" -ForegroundColor Green
|
||||||
Write-Host ""
|
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 ""
|
||||||
Write-Host "========================================" -ForegroundColor Green
|
Write-Host "========================================" -ForegroundColor Green
|
||||||
|
|||||||
Reference in New Issue
Block a user