opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Env Vars How to set on W10.

Open mynameistito opened this issue 23 hours ago • 1 comments

Question

Hey I was having a go and changing up my opencode.jsonc file and tried setting up env var's for my API Keys for some MCP Servers.

I tried adding them to a .env that I place in my ~/.config/opencode Bearer {env:var} that didn't work tried with $PROFILE export var=key that didn't seem to work either.

Any assistance would be great.

On Windows 10, mostly use Warp Terminal preferred if I don't have to use WSL.

mynameistito avatar Jan 14 '26 19:01 mynameistito