Skip to content
Discussion options

You must be logged in to vote

Hi! Here is a simple way to understand it.

For beginners, the easiest option is usually:

openclaude
/provider

The /provider command is recommended because it guides you through the provider setup and saves the profile inside OpenClaude. This is usually easier than manually editing environment variables.

Environment variables are useful when you already know exactly which provider, API key, base URL, and model you want to use. For example, an OpenAI-compatible setup may use values like:

CLAUDE_CODE_USE_OPENAI=1
OPENAI_API_KEY=your-api-key
OPENAI_MODEL=your-model-id

This is good for advanced users or for temporary terminal sessions, but beginners can make mistakes more easily, especially wi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by miausintomas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants