目前为止 OpenCode 官方还没有对 Windows 提供脚本支持,但是 OpenCode 依赖 Git,我们可以通过 Git 来使用下面命令安装:
curl -fsSL https://opencode.ai/install | bash

试了下还真可以,接下来只要把 C:\Users\你的用户名\.opencode\bin 添加到环境变量中 Path 就可以了~
发布于 19 小时前 6 次阅读
目前为止 OpenCode 官方还没有对 Windows 提供脚本支持,但是 OpenCode 依赖 Git,我们可以通过 Git 来使用下面命令安装:
curl -fsSL https://opencode.ai/install | bash

试了下还真可以,接下来只要把 C:\Users\你的用户名\.opencode\bin 添加到环境变量中 Path 就可以了~
Comments NOTHING