opencode auth login
┌ 添加凭据
│
◇ 选择提供方
│ Anthropic
│
◇ 登录方式
│ Manually enter API Key
│
◇ 输入你的 API Key
│ ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
│
└ 完成
opencode auth login
┌ 添加凭据
│
◇ 选择提供方
│ Other
│
◇ 输入提供方 ID
│ gateway.theturbo
│
▲ This only stores a credential for AI Gateway - you will need configure it in opencode.json, check the docs for examples.
│
◆ 输入你的 API Key
│ ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
opencode
/init
/models
opencode
Install and configure oh-my-opencode by following the instructions here:
https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md