Answer: Persist the proxy variables in the managed service configuration using the opencode service set env commands, then start the service with opencode service start. Status: Overdue (check was due 2026-11-20T13:37:05Z and has not succeeded) Entry: tool/opencode/settings/persist-proxy-for-service Revision: 1 Digest: sha256:49ae73581ee0b561 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:54Z Last changed: 2026-11-13T03:57:54Z Last verified: 2026-11-19T13:37:05Z Next check: 2026-11-20T13:37:05Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of HTTP_PROXY command | opencode service set env HTTP_PROXY http://proxy.example.com:8080 | [1] | 2026-11-19 HTTPS_PROXY command | opencode service set env HTTPS_PROXY http://proxy.example.com:8080 | [1] | 2026-11-19 NO_PROXY command | opencode service set env NO_PROXY localhost,127.0.0.1,::1 | [1] | 2026-11-19 start command | opencode service start | [1] | 2026-11-19 unset command | opencode service unset env HTTPS_PROXY | [1] | 2026-11-19 Sources: [1] opencode. "Network | OpenCode". https://opencode.ai/docs/network/ Role: primary. Accessed: 2026-11-19T13:37:05Z Quote: "opencode service set env HTTP_PROXY http://proxy.example.com:8080" (Supports: HTTP_PROXY command) Quote: "opencode service set env HTTPS_PROXY http://proxy.example.com:8080" (Supports: HTTPS_PROXY command) Quote: "opencode service set env NO_PROXY localhost,127.0.0.1,::1" (Supports: NO_PROXY command) Quote: "opencode service start" (Supports: start command) Quote: "opencode service unset env HTTPS_PROXY" (Supports: unset command) 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:05Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:37:05Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:37:05Z Last attempt: 2026-11-19T13:37:05Z Notes and limitations: Extracted automatically from a single official source (section "Service"). Related: https://latestn.com/tool/opencode/settings/plugin-discovery-locations Where does opencode discover plugins from, and do I need to add them to cli.json? https://latestn.com/tool/opencode/settings/plugin-options-object How do I pass options to an opencode plugin? https://latestn.com/tool/opencode/settings/plugin-package-formats What plugin package formats and path types can opencode load? https://latestn.com/tool/opencode/settings/local-directory-reference How do I use a local directory as a reference in opencode? https://latestn.com/tool/opencode/settings/migrate-plugin-configuration How do I migrate an opencode plugin's configuration from V1 to V2? https://latestn.com/tool/opencode/settings/migrate-v1-config-to-v2 How do I migrate my opencode V1 configuration to V2? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:57:54Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/settings/persist-proxy-for-service/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/persist-proxy-for-service POST: https://latestn.com/dispute/tool/opencode/settings/persist-proxy-for-service with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/persist-proxy-for-service?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I make proxy environment variables persist for the opencode background service? Revision 1, last verified 2026-11-19T13:37:05Z. https://latestn.com/tool/opencode/settings/persist-proxy-for-service (accessed 2026-11-21T09:53:23Z). @misc{LatestN_tool_opencode_settings_persist_proxy_for_service_r1, title = {How do I make proxy environment variables persist for the opencode background service?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/persist-proxy-for-service}}, note = {Revision 1; digest sha256:49ae73581ee0b561; last verified 2026-11-19T13:37:05Z; accessed 2026-11-21T09:53:23Z} } 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/persist-proxy-for-service