Sign in to opencode

Authenticating opencode with AI providers.

Command

opencode auth login
1

Run the command below in the Codespace terminal.

2

The terminal will display a list of AI providers. Select your provider.

3

Follow the instructions to log in or provide your API key.