openclawsetup 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
|
|
18
18
|
**macOS / Linux:**
|
|
19
19
|
```bash
|
|
20
|
-
curl -fsSL https://
|
|
20
|
+
curl -fsSL https://unpkg.com/openclawsetup/install.sh | bash
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
**Windows PowerShell:**
|
|
24
24
|
```powershell
|
|
25
|
-
irm https://
|
|
25
|
+
irm https://unpkg.com/openclawsetup/install.ps1 | iex
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
### 方式二:npx(需要已安装 Node.js 18+)
|
|
@@ -59,7 +59,7 @@ npx openclawsetup
|
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
61
|
# macOS/Linux - 一键脚本
|
|
62
|
-
curl -fsSL https://
|
|
62
|
+
curl -fsSL https://unpkg.com/openclawsetup/install.sh | bash
|
|
63
63
|
|
|
64
64
|
# 或者 npx(需要 Node.js)
|
|
65
65
|
npx openclawsetup
|
package/install.bat
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@echo off
|
|
2
|
+
chcp 65001 >nul 2>&1
|
|
3
|
+
echo.
|
|
4
|
+
echo ========================================
|
|
5
|
+
echo OpenClaw 安装提示
|
|
6
|
+
echo ========================================
|
|
7
|
+
echo.
|
|
8
|
+
echo Windows CMD 不支持一键安装脚本。
|
|
9
|
+
echo.
|
|
10
|
+
echo 请使用 Windows PowerShell 运行以下命令:
|
|
11
|
+
echo.
|
|
12
|
+
echo irm https://unpkg.com/openclawsetup/install.ps1 ^| iex
|
|
13
|
+
echo.
|
|
14
|
+
echo 打开 PowerShell 的方法:
|
|
15
|
+
echo 1. 按 Win+X,选择 "Windows PowerShell"
|
|
16
|
+
echo 2. 或在开始菜单搜索 "PowerShell"
|
|
17
|
+
echo.
|
|
18
|
+
echo ========================================
|
|
19
|
+
echo.
|
|
20
|
+
pause
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclawsetup",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "一键安装 OpenClaw - 自动完成基础部署,无需交互",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"bin/",
|
|
14
14
|
"install.sh",
|
|
15
15
|
"install.ps1",
|
|
16
|
+
"install.bat",
|
|
16
17
|
"README.md",
|
|
17
18
|
"使用说明.md"
|
|
18
19
|
],
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
|
|
9
9
|
**Linux (Debian/Ubuntu/CentOS 等):**
|
|
10
10
|
```bash
|
|
11
|
-
curl -fsSL https://
|
|
11
|
+
curl -fsSL https://unpkg.com/openclawsetup/install.sh | bash
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
**macOS:**
|
|
15
15
|
```bash
|
|
16
|
-
curl -fsSL https://
|
|
16
|
+
curl -fsSL https://unpkg.com/openclawsetup/install.sh | bash
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
**Windows PowerShell:**
|
|
20
20
|
```powershell
|
|
21
|
-
irm https://
|
|
21
|
+
irm https://unpkg.com/openclawsetup/install.ps1 | iex
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
### 方式二:npx(需要已安装 Node.js)
|
|
@@ -67,7 +67,7 @@ set OPENCLAW_PORT=8080 && npx openclawsetup
|
|
|
67
67
|
**原因**:未安装 Node.js
|
|
68
68
|
**解决**:使用一键脚本安装(会自动安装 Node.js)
|
|
69
69
|
```bash
|
|
70
|
-
curl -fsSL https://
|
|
70
|
+
curl -fsSL https://unpkg.com/openclawsetup/install.sh | bash
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
---
|