Answer: Set the standard proxy variables and exclude loopback addresses: export HTTP_PROXY=http://proxy.example.com:8080, export HTTPS_PROXY=http://proxy.example.com:8080, and export NO_PROXY=localhost,127.0.0.1,::1. For the background service, persist them with opencode service set env for HTTP_PROXY, HTTPS_PROXY, and NO_PROXY, then run opencode service start. Status: Overdue (check was due 2026-11-20T13:37:03Z and has not succeeded) Entry: tool/opencode/settings/configure-proxy Revision: 1 Digest: sha256:b1501a464742d5b6 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:52Z Last changed: 2026-11-13T03:57:52Z Last verified: 2026-11-19T13:37:03Z Next check: 2026-11-20T13:37:03Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of service HTTP_PROXY | http://proxy.example.com:8080 | [1] | 2026-11-19 service HTTPS_PROXY | http://proxy.example.com:8080 | [1] | 2026-11-19 service NO_PROXY | localhost,127.0.0.1,::1 | [1] | 2026-11-19 Sources: [1] opencode. "Network | OpenCode". https://opencode.ai/docs/network/ Role: primary. Accessed: 2026-11-19T13:37:03Z Quote: "opencode service set env HTTP_PROXY http://proxy.example.com:8080" (Supports: service HTTP_PROXY) Quote: "opencode service set env HTTPS_PROXY http://proxy.example.com:8080" (Supports: service HTTPS_PROXY) Quote: "opencode service set env NO_PROXY localhost,127.0.0.1,::1" (Supports: service NO_PROXY) Snapshot SHA-256: 3056c50c33d3ed158df7cc3a765c06e9fea94934acf0a36506414878cc4ec08f (captured 2026-11-13T13:31:04Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T13:31:04Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:37:03Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:37:03Z Last attempt: 2026-11-19T13:37:03Z Notes and limitations: Extracted automatically from a single official source (section "Network"). Related: https://latestn.com/tool/opencode/settings/configure-web-ui How do I configure the opencode web UI? https://latestn.com/tool/opencode/settings/custom-formatters How do I add a custom formatter in opencode? https://latestn.com/tool/opencode/settings/custom-provider-endpoint How do I configure a custom provider endpoint in opencode? https://latestn.com/tool/opencode/settings/configure-claude-code-console How do I configure Claude Code to use OpenCode Console? https://latestn.com/tool/opencode/settings/configure-cli-plugins How do I configure plugins for the opencode CLI in cli.json? https://latestn.com/tool/opencode/settings/configure-instructions How do I configure custom instruction files in opencode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:57:52Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/settings/configure-proxy/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/settings/configure-proxy POST: https://latestn.com/dispute/tool/opencode/settings/configure-proxy with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/configure-proxy?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure a proxy for opencode using HTTP_PROXY, HTTPS_PROXY, and NO_PROXY? Revision 1, last verified 2026-11-19T13:37:03Z. https://latestn.com/tool/opencode/settings/configure-proxy (accessed 2026-11-21T09:50:31Z). @misc{LatestN_tool_opencode_settings_configure_proxy_r1, title = {How do I configure a proxy for opencode using HTTP_PROXY, HTTPS_PROXY, and NO_PROXY?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/configure-proxy}}, note = {Revision 1; digest sha256:b1501a464742d5b6; last verified 2026-11-19T13:37:03Z; accessed 2026-11-21T09:50:31Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/settings/configure-proxy