coding
Windows install issues
Some Windows OpenCode builds have upstream installer issues with git-backed plugin specs, including cache paths for `git+https` URLs and Bun not finding `git.exe` even when it works in a normal terminal. If OpenCode cannot install the plugin, try installing with system npm and pointing OpenCode at the local package: ```powershell npm install superpowers@git+https://github.com/obra/superpowers.git --prefix "$HOME\.config\opencode" ``` Then use the installed package path in `opencode.json`: ```json { "plugin": ["~/.config/opencode/node_modules/superpowers"] } ```
← 返回教程列表
AI8899 · 内容仅供学习参考