add git install
This commit is contained in:
parent
f734480c95
commit
ac692e13ac
|
|
@ -1,4 +1,4 @@
|
|||
# OpenClaw Windows 11 一键安装指南(小白专属版)
|
||||
# OpenClaw Windows 11 一键安装指南
|
||||
>
|
||||
> ✅ 操作难度:☆☆☆☆☆ 全程复制粘贴,不用懂技术,10分钟搞定
|
||||
>
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
---
|
||||
|
||||
## 🚀 第二阶段:详细安装步骤(小白一键版)
|
||||
## 🚀 第二阶段:详细安装步骤
|
||||
>
|
||||
> ✅ 全程复制粘贴3条命令,全自动安装,不用懂任何技术
|
||||
>
|
||||
|
|
@ -54,7 +54,27 @@ Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
|
|||
> 1. 粘贴后会出现询问,输入 `Y` 然后按回车 ✔️
|
||||
> 2. 如果没看到询问直接跳回命令行,说明已经设置好了,直接下一步
|
||||
|
||||
### 2. 一键安装OpenClaw(全自动)
|
||||
### 2. 安装 git
|
||||
|
||||
运行下载命令,安装 git
|
||||
|
||||
```PowerShell
|
||||
iwr https://registry.npmmirror.com/-/binary/git-for-windows/v2.44.0.windows.1/Git-2.44.0-64-bit.exe -OutFile git.exe
|
||||
Start-Process .\git.exe
|
||||
```
|
||||
|
||||
然后一路点击“next”,直到安装完成。
|
||||

|
||||
关闭当前窗口,重新打开管理员PowerShell。输入 `git --version` ,输出 `git version 2.xxx` 即为安装成功。
|
||||
|
||||
Ps: 挂梯子用户可直接一键安装
|
||||
|
||||
```PowerShell
|
||||
# 挂梯子可访问外网用户可使用
|
||||
winget install --id Git.Git -e --source winget
|
||||
```
|
||||
|
||||
### 3. 一键安装OpenClaw(全自动)
|
||||
|
||||
继续在同一个PowerShell窗口里,**复制粘贴**下面这整行命令,然后按回车:
|
||||
|
||||
|
|
@ -68,9 +88,9 @@ iwr -useb https://openclaw.ai/install.ps1 | iex
|
|||
> 2. 期间会弹出一些进度条,等个5-10分钟就行
|
||||
> 3. 如果网络慢,会给你提示"正在下载...",耐心等
|
||||
> 4. 看到「OpenClaw安装完成」的提示就说明这步成功了 ✔️
|
||||
> 5. 常见安装错误见[win11安装openclaw问题及解决](./win11%E5%AE%89%E8%A3%85openclaw%E9%97%AE%E9%A2%98%E5%8F%8A%E8%A7%A3%E5%86%B3.md)
|
||||
> 5. 国内网络大概率会失败,常见安装错误见[win11安装openclaw问题及解决](./win11%E5%AE%89%E8%A3%85openclaw%E9%97%AE%E9%A2%98%E5%8F%8A%E8%A7%A3%E5%86%B3.md)
|
||||
|
||||
### 3. 验证安装成功
|
||||
### 4. 验证安装成功
|
||||
|
||||
安装完成后,继续在PowerShell里输入下面这行命令,按回车:
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 188 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
|
|
@ -2,6 +2,15 @@
|
|||
|
||||
## 一键安装失败 iwr -useb <https://openclaw.ai/install.ps1> | iex
|
||||
|
||||
- git 缺失
|
||||

|
||||
**问题**:git 缺失导致一键安装失败
|
||||
**解决**:安装 git
|
||||
|
||||
```PowerShell
|
||||
winget install --id Git.Git -e --source winget
|
||||
```
|
||||
|
||||
- 报错如下,且要求选择运行 .iso 的软件
|
||||

|
||||
**问题**:.msi 文件没有正确关联到 Windows Installer 导致nodejs 安装失败
|
||||
|
|
|
|||
Loading…
Reference in New Issue