Linux command
opencode-auth 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Log in
opencode auth login
Show
opencode auth status
说明
opencode auth manages credentials and login sessions for AI providers used by OpenCode. Credentials are stored in ~/.local/share/opencode/auth.json. Supports authentication with providers including OpenAI, Anthropic, Google, AWS Bedrock, and GitHub Copilot.
FAQ
What is the opencode-auth command used for?
opencode auth manages credentials and login sessions for AI providers used by OpenCode. Credentials are stored in ~/.local/share/opencode/auth.json. Supports authentication with providers including OpenAI, Anthropic, Google, AWS Bedrock, and GitHub Copilot.
How do I run a basic opencode-auth example?
Run `opencode auth login` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more opencode-auth examples?
This page includes 2 examples for opencode-auth, plus related commands for nearby Linux tasks.