cd ..

如何配置 OpenCode

Updated December 27, 2025 , by fzdwx | opencodeaicli

OpenCode 是一个强大的 AI agent 框架,采用计划优先的开发工作流。

安装步骤

步骤 1: 安装 OpenCode CLI

curl -fsSL https://opencode.ai/install | bash

步骤 2: 安装 Superpowers

启动 opencode 并输入:

Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.opencode/INSTALL.md

步骤 3: 安装 OpenAgents

curl -fsSL https://raw.githubusercontent.com/darrenhinde/OpenAgents/main/install.sh | bash -s advanced

开始使用

opencode --agent openagent

相关链接