HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

opencode auth — Manage credentials and login for AI providers. More information: <https://opencode.ai/docs/cli#auth>

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandloginopencode authandmanageclicredentialsfor

Problem

How to use the opencode auth command: Manage credentials and login for AI providers. More information: <https://opencode.ai/docs/cli#auth>.

Solution

opencode auth — Manage credentials and login for AI providers. More information: <https://opencode.ai/docs/cli#auth>.

Log in to a provider interactively:
opencode auth login


List all configured providers:
opencode auth list


Log out from a configured provider interactively:
opencode auth logout


Display help:
opencode auth {{[-h|--help]}}

Code Snippets

Log in to a provider interactively

opencode auth login

List all configured providers

opencode auth list

Log out from a configured provider interactively

opencode auth logout

Display help

opencode auth {{[-h|--help]}}

Context

tldr-pages: common/opencode auth

Revisions (0)

No revisions yet.