下载 OpenCode
适用于 macOS, Windows, 和 Linux 的 Beta 版
[1]
OpenCode 终端
curl -fsSL https://opencode.ai/install | bash
npm i -g opencode-ai
bun add -g opencode-ai
brew install anomalyco/tap/opencode
paru -S opencode
常见问题
OpenCode 是一个开源的 AI 编程代理,提供终端界面、桌面应用和 IDE 扩展,帮助开发者更高效地编写代码。
您可以通过 curl、npm、bun 或 brew 安装 OpenCode,然后在终端中运行 opencode 命令即可开始使用。
不需要,OpenCode 内置免费模型。您也可以使用现有的 AI 订阅,如 GitHub Copilot、ChatGPT Plus/Pro 等。
不是,OpenCode 提供多种使用方式:终端界面 (TUI)、桌面应用(Beta)、以及 VS Code、Cursor 等 IDE 扩展。
OpenCode 是完全免费和开源的。您只需要为使用的 AI 模型付费(如果使用付费模型的话)。
OpenCode 采用隐私优先的设计,不存储您的任何代码或上下文数据,确保可以在对隐私敏感的环境中运行。
是的,OpenCode 是完全开源的,您可以在 GitHub 上查看源代码并参与贡献。