跳转至

Windows 说明

推荐的 Windows 路径

优先使用 PowerShell 原生命令,不要默认依赖 WSL,并用 loopforge doctor 做环境确认。

LoopForge 在 Windows 上运行不依赖 WSL。

Harness workspace 的 init scripts

Harness 初始化 workspace 时会创建:

  • init.sh
  • init.ps1

在 Windows 上 LoopForge 会优先执行 init.ps1,避免误调用 bash.exe(WSL 启动器)导致 “未安装发行版” 的错误。

工具差异

  • Windows:shell 工具使用 PowerShell
  • Unix:shell 工具使用 bash