Files
cheatsheet-tldr/tldr/opencode-auth
2026-03-01 00:30:22 +00:00

26 lines
461 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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]}}`